Skip to content

fix: advertise tmux extkeys for all terminals (Shift+Enter) - #25

Merged
thecodeassassin merged 1 commit into
mainfrom
fix/tmux-extkeys-all-terminals
Jun 22, 2026
Merged

fix: advertise tmux extkeys for all terminals (Shift+Enter)#25
thecodeassassin merged 1 commit into
mainfrom
fix/tmux-extkeys-all-terminals

Conversation

@thecodeassassin

@thecodeassassin thecodeassassin commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Shift+Enter didn't reach agent TUIs (e.g. Pi) inside ExitBox's tmux. The generated tmux config advertised the Kitty extended-keys feature only for xterm* terminals (terminal-features "xterm*:extkeys"), so terminals whose TERM isn't xterm* never had extended keys negotiated, and modified-Enter was lost.

Fix

Advertise extkeys for all terminals: set -as terminal-features "*:extkeys" (matches Pi's documented tmux recommendation). set -g extended-keys on unchanged. Terminals that don't support the protocol simply don't get it negotiated — no regression. Ctrl+J remains the universal newline fallback (Pi binds it by default).

Tests

Updated write_tmux_conf assertion to check the *:extkeys wildcard. Entrypoint suite: 105 pass, 2 pre-existing failures (codex session-storage env leakage on main, unrelated).

Note: entrypoint ships in the base image, so this needs an image rebuild to take effect.

@thecodeassassin
thecodeassassin merged commit 356ecd2 into main Jun 22, 2026
7 checks passed
@thecodeassassin
thecodeassassin deleted the fix/tmux-extkeys-all-terminals branch June 22, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant