(tui) sidebar overflowing out of the viewport at smaller widths/size #6978

Closed
opened 2026-02-16 18:05:48 -05:00 by yindo · 1 comment
Owner

Originally created by @IdrisGit on GitHub (Jan 20, 2026).

Originally assigned to: @kommander on GitHub.

Description

the sidebar in opencode TUI overflows when opened in a sub or smaller window, basically when it's smaller in size/width, I have attached the screenshots when the window is in fullscreen and when normal.

Plugins

No response

OpenCode version

1.1.27

Steps to reproduce

steps to reproduce in a tilling window manager:

  1. open up a new terminal window with an existing window
  2. open opencode tui
  3. open any session
  4. open sidebar

even the though the steps and screenshots are from a two tile setup, I was able to reproduce it by toggling floating window and resizing it.

Screenshot and/or share link

window fullscreen:

Image

window normal/half:

Image

Operating System

Omarchy

Terminal

Ghostty

Originally created by @IdrisGit on GitHub (Jan 20, 2026). Originally assigned to: @kommander on GitHub. ### Description the sidebar in opencode TUI overflows when opened in a sub or smaller window, basically when it's smaller in size/width, I have attached the screenshots when the window is in fullscreen and when normal. ### Plugins _No response_ ### OpenCode version 1.1.27 ### Steps to reproduce *steps to reproduce in a tilling window manager:* 1. open up a new terminal window with an existing window 2. open opencode tui 3. open any session 4. open sidebar even the though the steps and screenshots are from a two tile setup, I was able to reproduce it by toggling floating window and resizing it. ### Screenshot and/or share link **window fullscreen:** <img width="2528" height="1533" alt="Image" src="https://github.com/user-attachments/assets/063063f1-7162-4bc7-96c0-e13cadf980bd" /> **window normal/half:** <img width="2565" height="1604" alt="Image" src="https://github.com/user-attachments/assets/909ad766-5a23-40e8-b4ce-df74627ab16c" /> ### Operating System Omarchy ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 18:05:48 -05:00
yindo closed this issue 2026-02-16 18:05:48 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7943: TUI crashes when resizing terminal window (Windows / CMD) - Related to terminal resize and TUI layout issues
  • #3547: [FEATURE]: Small screen compatibility - Discusses sidebar and UI overflow issues on smaller terminal sizes
  • #6087: Is it possible to make the width of the sidebar configurable? - Directly addresses sidebar width issues for different terminal sizes
  • #4036: Text position keeps recalculating despite settled width and no changes to buffer - Related to TUI rendering and layout calculation issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of existing issues. Please check: - #7943: TUI crashes when resizing terminal window (Windows / CMD) - Related to terminal resize and TUI layout issues - #3547: [FEATURE]: Small screen compatibility - Discusses sidebar and UI overflow issues on smaller terminal sizes - #6087: Is it possible to make the width of the sidebar configurable? - Directly addresses sidebar width issues for different terminal sizes - #4036: Text position keeps recalculating despite settled width and no changes to buffer - Related to TUI rendering and layout calculation issues Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6978