tmux: turn mouse mode off

Mouse mode routed wheel events into the pane, where Claude Code's
full-screen TUI repaints the whole screen in response. That repaint took
the status bar with it, which is the flicker that has been chased for two
weeks through X, NVIDIA, picom and hotplug settings -- none of which were
involved. It reproduces on a bare framebuffer console with no X running at
all.

Disabling mouse mode keeps those events out of the pane entirely. Scrolling
inside tmux is Ctrl-b [ as usual. Paired with CLAUDE_CODE_DISABLE_MOUSE and
CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL exported in the shell, since the env
block in Claude Code's settings.json does not reach the process.
This commit is contained in:
2026-08-24 17:35:53 -07:00
parent 48814c5d42
commit 3391b4cd2a
+1 -1
View File
@@ -69,7 +69,7 @@ bind E setw synchronize-panes off
# set first window to index 1 (not 0) to map more to the keyboard layout... # set first window to index 1 (not 0) to map more to the keyboard layout...
set-option -g base-index 1 set-option -g base-index 1
set-window-option -g pane-base-index 1 set-window-option -g pane-base-index 1
set-window-option -g mouse on set-window-option -g mouse off
# color scheme (styled as vim-powerline) # color scheme (styled as vim-powerline)
set -g status-left-length 52 set -g status-left-length 52