Skip to content

TUI mouse support#321

Open
daniel-shimon wants to merge 2 commits intoasheshgoplani:mainfrom
daniel-shimon:tui-mouse-support
Open

TUI mouse support#321
daniel-shimon wants to merge 2 commits intoasheshgoplani:mainfrom
daniel-shimon:tui-mouse-support

Conversation

@daniel-shimon
Copy link
Contributor

@daniel-shimon daniel-shimon commented Mar 11, 2026

Hi!
This PR adds mouse support in the TUI:

  • Single click a session/group to select it
  • Double click a session/group to open/collapse
  • In a session click the right side of the tmux statusline to detach (changed text to ctrl+q/click detach)

Tested locally.
Let me know what you think!

Single click selects, double-click attaches sessions / toggles groups.
Coordinate mapping accounts for headers, banners, scroll offset, and
layout mode. Mouse mode re-enabled after tmux detach clobbers terminal
escape sequences.
Bind MouseDown1StatusRight to run detach-client, guarded to only fire
inside agentdeck_* sessions. Status bar hint updated to ctrl+q/click.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant