You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Show a resize pointer on pane dividers (diff viewer, side panels) #56011
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
What’s the problem?
When a side panel is open (for example the diff viewer), you can resize it by dragging the line between the panel and the chat. But nothing tells you that. The mouse stays a normal arrow over the line, so it feels like you’re grabbing nothing. I only found out it could be dragged by accident.
What I’d like
When the mouse is over that line, show the left-right resize pointer (↔), the way most apps do for split views. Keep it while dragging, and go back to the normal arrow when the mouse moves away or you let go.
Notes
The same line is used for every side panel (diff viewer, sidebar, plugin panels) and for the session tabs rail, so one change covers all of them.
OpenTUI can already ask the terminal for a different pointer. Terminals that support it (kitty, Ghostty, foot and others) will show the ↔. Others will ignore it, so nothing breaks.
I have a small fix ready with a test, and I’m happy to open a PR.
Thanks for the suggestion! You're asking for the TUI to show a left-right resize pointer (↔) while the mouse is over the divider between a side panel (diff viewer, sidebar, plugin panels, the session tabs rail) and the chat. It would stay while dragging and go back to the normal arrow afterwards, so it's clear the divider can be dragged. In terminals that don't support pointer shapes, nothing would change.
All of these dividers share one resize helper, packages/tui/src/ui/pane-resize.ts. It already tracks hover and drag state but never changes the pointer, so your one change would indeed cover every panel. The maintainers will consider it. If you open your PR, linking it here will help.
Related pane-resizing issues and PRs, for context:
Update: the PR (#56017) now also covers terminals that can't change the mouse pointer. Windows Terminal (cmd, PowerShell), Alacritty and VTE-based terminals ignore OSC 22, so the divider also draws a small ⋮ grip while it is hovered or dragged. The grip follows the mouse along the line and moves with it while dragging.
Left: a terminal with pointer support (↔ and ⋮). Right: one without (⋮ only).
Activity
opencode-agent commentedon Oct 16, 2026
Thanks for the suggestion! You're asking for the TUI to show a left-right resize pointer (↔) while the mouse is over the divider between a side panel (diff viewer, sidebar, plugin panels, the session tabs rail) and the chat. It would stay while dragging and go back to the normal arrow afterwards, so it's clear the divider can be dragged. In terminals that don't support pointer shapes, nothing would change.
All of these dividers share one resize helper,
packages/tui/src/ui/pane-resize.ts. It already tracks hover and drag state but never changes the pointer, so your one change would indeed cover every panel. The maintainers will consider it. If you open your PR, linking it here will help.Related pane-resizing issues and PRs, for context:
sidebar_widthconfigivopogace commentedon Oct 16, 2026
Update: the PR (#56017) now also covers terminals that can't change the mouse pointer. Windows Terminal (cmd, PowerShell), Alacritty and VTE-based terminals ignore OSC 22, so the divider also draws a small
⋮grip while it is hovered or dragged. The grip follows the mouse along the line and moves with it while dragging.Left: a terminal with pointer support (↔ and ⋮). Right: one without (⋮ only).