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
TUI has too much padding everywhere and unnecessary large height elements #9955
TUI has poor optimization of vertical space on desktops and laptops.
There are too many elements with too much spacing. The top line and bottom line can be consolidated into one. It is being done by all other cli agents.
The actual message chat log with scrollbar is rendered in only half of the vertical space.
Please give us an alternate condensed layout for desktops or ability to use custom CSS/styling files.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Reacted by khan-oc, ashir, Jaen, Christopher Smothers, ryakad, dex, shumayl-machship, pedroni, Michael Barney, Jr, Brad and 11 more
Reacted by Jordan Running, bhenriq, Mateus Junior, khan-oc, Bagas and Alex Cavazos
This is definitely needed. Another use case: I’ve been trying to use OpenCode from my phone (iPhone 16) over ssh.
I have about 23 lines of vertical space to work with and 11 of those—almost half—are whitespace. Horizontally it’s not as bad, but it still looks like 9 of 49 columns—18%—are padding.
I can improve this somewhat by using a smaller font, but frankly I’d rather not strain my eyes every time I use OpenCode.
I think OpenCode looks great on a big screen, but I really hope a “compact” mode can be added for those times when a big viewport isn’t an option.
There are too many graphics and moving part and sections, I like to have simpler option or ability to customize it myself, to something feels more like a terminal based tool.
Yea it's really insane how much space everything takes. Only thing that is keeping me from using it. I basically have like 1/4th of the space to read what the agent is asking or summarizing. Yea I have my font size kind of big but that's how I use every other TUI and it's fine.
Edit:
Actually just found out about opencode2 mini. My dreams have come true!
Activity
github-actions commentedon Jan 22, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
berenar commentedon Jan 22, 2026
I agree; it could be improved for smaller screens. It looks fine on a 27" display, but on my 14" laptop screen, I miss more content vertically.
pierrecorsini commentedon Jan 30, 2026
That's what you'll get on a small terminal, plenty of wasted place and a broken input layout.
jrunning commentedon Feb 2, 2026
This is definitely needed. Another use case: I’ve been trying to use OpenCode from my phone (iPhone 16) over ssh.
I have about 23 lines of vertical space to work with and 11 of those—almost half—are whitespace. Horizontally it’s not as bad, but it still looks like 9 of 49 columns—18%—are padding.
I can improve this somewhat by using a smaller font, but frankly I’d rather not strain my eyes every time I use OpenCode.
I think OpenCode looks great on a big screen, but I really hope a “compact” mode can be added for those times when a big viewport isn’t an option.
encodexdev commentedon Feb 13, 2026
I've implemented this feature as a boolean config option
tui.no_terminal_padding_xthat removes horizontal padding in the terminal interface.Implementation approach:
config.tsunder thetuinamespace (consistent with existingtui.diff_stylepattern)no-padding-x.cssthat target terminal containers via data attributedata-no-terminal-padding-xattribute and conditionally remove paddingBefore design review approval, I'd like feedback on:
tuinamespace the right location for this setting?Example config:
{ "tui": { "no_terminal_padding_x": true } }I'm working on local testing with
bun devand will provide screenshots once verified.FurryWolfX commentedon Mar 14, 2026
Agree.
I want the TUI to be customizable.
amin-abbasiy commentedon Jun 23, 2026
There are too many graphics and moving part and sections, I like to have simpler option or ability to customize it myself, to something feels more like a terminal based tool.
drewhamlett commentedon Jul 19, 2026
Yea it's really insane how much space everything takes. Only thing that is keeping me from using it. I basically have like 1/4th of the space to read what the agent is asking or summarizing. Yea I have my font size kind of big but that's how I use every other TUI and it's fine.
Edit:
Actually just found out about
opencode2 mini. My dreams have come true!simonklee commentedon Jul 22, 2026
screenrecording-2026-07-22_13-18-36.mp4
github-actions commentedon Sep 21, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.