fix: mobile touch scroll + DPad scroll mode + mode toggle#95
Open
k3nnethfrancis wants to merge 1 commit intogbasin:masterfrom
Open
fix: mobile touch scroll + DPad scroll mode + mode toggle#95k3nnethfrancis wants to merge 1 commit intogbasin:masterfrom
k3nnethfrancis wants to merge 1 commit intogbasin:masterfrom
Conversation
Touch scrolling was broken on all tmux terminals because mouse mode was set per-session but grouped sessions (agentboard-ws-*) inherited the global setting (mouse off). Changed to set-option -g so all sessions get mouse mode. Replaced NumPad "123" with a mode toggle button that sends Shift+Tab to toggle Claude Code auto-accept/plan mode from mobile. Added dual-mode DPad: tap toggles between cursor mode (arrow keys) and scroll mode (tmux scroll via SGR mouse sequences). Visual indicator changes to accent color in scroll mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
-g) instead of per-session so grouped sessions (agentboard-ws-*) inherit it — fixes broken touch scrolling on mobileShift+Tabfor Claude Code auto-accept/plan mode toggleFiles Changed
src/server/SessionManager.ts— global mouse mode fixsrc/server/__tests__/sessionManager.test.ts— updated assertionssrc/client/components/DPad.tsx— dual-mode (cursor/scroll) with tap togglesrc/client/components/Terminal.tsx— added handleSendScroll callbacksrc/client/components/TerminalControls.tsx— replaced NumPad with mode toggle, threaded scroll propsrc/client/__tests__/terminalControls.test.tsx— updated for NumPad removalstart-agentboard.sh— launch script for launchd auto-startTest Plan