Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions static/build/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ set -g default-terminal "xterm-256color"
# them (Kitty keyboard protocol). The "*" pattern advertises extkeys for every
# outer terminal that supports it, not just xterm-named ones, so Shift+Enter
# reaches agents like Pi regardless of TERM. (Ctrl+J is the universal fallback.)
# extended-keys-format must be csi-u (fixterms): tmux's default "xterm" encoding
# is undecodable by Pi and other Kitty-protocol agents, so modified Enter is lost.
set -g extended-keys on
set -g extended-keys-format csi-u
set -as terminal-features "*:extkeys"
set -g status-position top
set -g status-style "bg=colour236,fg=colour255"
Expand Down
1 change: 1 addition & 0 deletions static/build/docker-entrypoint_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ test_write_tmux_conf_scroll_settings() {
assert_contains "write_tmux_conf sets large history" "$output" 'set -g history-limit 100000'
assert_contains "write_tmux_conf enables extended-keys" "$output" 'set -g extended-keys on'
assert_contains "write_tmux_conf advertises extkeys for all terminals" "$output" 'terminal-features "*:extkeys"'
assert_contains "write_tmux_conf uses csi-u extended-keys format" "$output" 'set -g extended-keys-format csi-u'
assert_contains "write_tmux_conf shows workspace shortcut" "$output" 'C-M-p: workspaces'
assert_contains "write_tmux_conf shows session shortcut" "$output" 'C-M-s: sessions'
}
Expand Down
Loading