opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: make sidebar resizable

Open agustif opened this issue 4 weeks ago • 3 comments

  • Add resizable sidebar with persistent width (20-80 columns)
  • Keyboard shortcuts: Ctrl+Shift+Left/Right to resize
  • Click resize handle on right edge to widen
  • Fix sidebar layout to prevent vertical scroll issues
image

agustif avatar Dec 14 '25 03:12 agustif

Can we do this via mouse for now? The keybinds typically take some discussion since evreryone has their own opinions

rekram1-node avatar Dec 15 '25 06:12 rekram1-node

Can we do this via mouse for now? The keybinds typically take some discussion since evreryone has their own opinions

oh yeah that would probsbly be better ux anyways!!

can you link me to some docs/example? wasnt aware opentui had mouse bindings

agustif avatar Dec 15 '25 14:12 agustif

Here is a mousedemo: https://github.com/sst/opentui/blob/main/packages/solid/examples/components/mouse-demo.tsx

rekram1-node avatar Dec 15 '25 22:12 rekram1-node