Skip to content

Commit 910d609

Browse files
chapterjasonclaude
andcommitted
Fix mouse wheel scrolling
- tmux.conf: set-option -g mouse on so wheel events route into tmux's copy-mode scrollback when the shell fills the screen. - .xterm .xterm-viewport override: overflow-y: auto so xterm's own viewport accepts wheel events again instead of blocking them via an inherited/overridden overflow rule. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 44f004a commit 910d609

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

client/src/styles/_layout.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@
2121
min-height: 0;
2222
padding: 0.5rem;
2323
overflow: hidden;
24+
25+
.xterm .xterm-viewport {
26+
overflow-y: auto;
27+
}
2428
}

server/tmux.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ set-option -g aggressive-resize on
66
set-option -g set-clipboard on
77
set-option -g status off
88
set-option -g history-limit 10000
9+
set-option -g mouse on

0 commit comments

Comments
 (0)