Skip to content

Commit f7c15fa

Browse files
drnclaude
andcommitted
Optimize tmux settings to reduce TUI jitter in Claude Code.
- Change default-terminal from screen-256color to tmux-256color for modern escape sequence passthrough - Switch terminal-overrides to terminal-features (newer tmux mechanism) - Add redraw-time 0 to eliminate redraw batching Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7a292be commit f7c15fa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

home/tmux.conf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ set -g default-shell $SHELL
55
set -g default-command "reattach-to-user-namespace -l ${SHELL}"
66
# disable Esc delay
77
set -sg escape-time 0
8-
# set terminal type
9-
set -g default-terminal "screen-256color"
8+
# set terminal type (tmux-256color enables modern escape sequence passthrough)
9+
set -g default-terminal "tmux-256color"
1010
# enable truecolor terminal support
11-
set -ag terminal-overrides ',xterm-256color:RGB'
11+
set -as terminal-features ',xterm-256color:RGB'
12+
# disable redraw batching for immediate screen updates
13+
set -g redraw-time 0
1214
# set history size to 10k
1315
set -g history-limit 100000
1416
# Use vim keybindings in copy mode

0 commit comments

Comments
 (0)