feat: Enter jumps to a live session, Ctrl+F forks - #29
Merged
Merged
Conversation
Enter on a conversation already open in claude now selects its iTerm tab or tmux pane (found via the claude process's tty) instead of resuming a second copy that would write to the same transcript. Ctrl+F forks the selected conversation with --fork-session, in a new tab/window or in place. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JUmkVYwbkobda1AnHuwFDE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
●) takes you to it. ccs switches to the iTerm tab or tmux pane where thatclaudeis already running, instead of starting a second copy that would write to the same transcript. It finds the tab by the runningclaude's terminal device. Checked against 7 live sessions on this machine: every one matched its iTerm tab. If the terminal can't be found (for example a session running in another app), ccs says so and suggests forking.claude --resume <id> --fork-session) into a new session, leaving the original untouched. It opens in a new tab or window like Enter does, or in place outside iTerm/tmux.Why Ctrl+F rather than Shift+Enter or Alt+Enter: with Claude Code's terminal setup, iTerm sends Shift+Enter as the same byte as Ctrl+J (preview scroll). With Option on "Normal", Option+Enter arrives as a plain Enter.
🤖 Generated with Claude Code
https://claude.ai/code/session_01JUmkVYwbkobda1AnHuwFDE