Skip to content

fix(ui): close tabs on middle mouse button release - #12

Open
lviobio wants to merge 1 commit into
lonetis:mainfrom
lviobio:dev/close-tabs-on-middle-release
Open

lviobio wants to merge 1 commit into
lonetis:mainfrom
lviobio:dev/close-tabs-on-middle-release

Conversation

@lviobio

@lviobio lviobio commented Oct 10, 2026 •

Copy link
Copy Markdown

Middle-clicking a pane or terminal tab currently closes it as soon as the mouse wheel button is pressed. Move closing to auxclick, which fires after the button is released, in both PaneGroupTabBar and TmuxTabBar. Keep preventing the middle-button default action on mousedown to suppress browser autoscroll.

Validation: compiled both Vue components and exercised them in Chromium with Playwright. Both tabs remain open while the middle button is held and close after release; left/right clicks, the terminal confirmation, and protection of the main terminal tab behave correctly. git diff --check passes.

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