Fix #342: enable extended-keys for Shift+Enter in tmux sessions#343
Merged
asheshgoplani merged 1 commit intomainfrom Mar 17, 2026
Merged
Fix #342: enable extended-keys for Shift+Enter in tmux sessions#343asheshgoplani merged 1 commit intomainfrom
asheshgoplani merged 1 commit intomainfrom
Conversation
tmux sessions created by agent-deck were missing the `extended-keys on` server option (tmux 3.2+), causing Shift+Enter and other modified key sequences to be dropped instead of forwarded to applications like Claude Code. Added the option to both session creation and lazy configuration paths, with -sq flags for backward compatibility with older tmux. Also updated install.sh tmux config template (v2 -> v3) to include extended-keys for users who configure tmux via the installer. Fixes #342 Committed by Ashesh Goplani
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.
Summary
set -sq extended-keys on(tmux 3.2+ server option) to both session creation and lazy configuration paths ininternal/tmux/tmux.goinstall.shtmux config template (v2 -> v3) to includeextended-keys onfor users who configure via the installer-sqflags (server option + quiet) so older tmux versions that don't supportextended-keyssilently ignore itRoot cause
tmux drops Shift+Enter (and other modified key sequences) by default. The
extended-keys onserver option tells tmux to forward these sequences to applications running inside panes when they request it.Test plan
make cipasses (lint + test + build)Fixes #342