diff --git a/apps/booterm/tmux.conf b/apps/booterm/tmux.conf index 34457b9..ef5eef7 100644 --- a/apps/booterm/tmux.conf +++ b/apps/booterm/tmux.conf @@ -1,6 +1,11 @@ set -g default-terminal "screen-256color" set -g history-limit 50000 -set -g mouse on +# v1.10.3: `set -g mouse on` removed. tmux's mouse mode captured wheel/touch +# events at the protocol level, so xterm.js never saw them and the viewport +# couldn't scroll on mobile. With mouse off, xterm.js handles scrollback +# natively (wheel on desktop, finger-drag on mobile via touch-action: pan-y). +# Tradeoff: lose tmux mouse pane-resize and scroll-inside-vim; acceptable for +# the homelab single-user setup. setw -g mode-keys vi set -g status off set -g destroy-unattached off diff --git a/apps/web/src/components/Workspace.tsx b/apps/web/src/components/Workspace.tsx index af8c6fe..2aeae65 100644 --- a/apps/web/src/components/Workspace.tsx +++ b/apps/web/src/components/Workspace.tsx @@ -271,6 +271,7 @@ export function Workspace({ sessionId={sessionId} paneId={pane.id} label={terminalLabels.get(pane.id) ?? 'Terminal'} + active={idx === activePaneIdx} /> ) : pane.kind === 'chat' && pane.chatId ? (