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
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
As a developer I would like to use OpenCode from inside the VSCode build-in terminal, in order to avoid excessive context switching. VSCode is essential part of my workflow, to review the changes made by the ai.
Current Behavior (available terminal height of 10 lines):
On Welcome screen:
From top to bottom, only the big OpenCode logo and two of the help lines /new, /help are visible.
The user input is not visible.
I can still type my request blindly, press enter, and it works (it's just a visual bug).
On Chat screen:
header has an empty padding line above
chat output is not visible at all
The user input occupies three lines, plus one more for model info, plus another one as empty spacer below
footer is not visible (good)
Expected Behavior:
User input field should be visible on Welcome screen.
Chat output should be visible on Chat screen.
The Ui may collapse gracefully, hiding less important elements, or replacing them by smaller variants.
Notes:
Small height is much more important than small width.
Request is about usage on a 14 inch notebook which has 1280x800 effective pixels.
Increasing terminal height would cut into the actual VsCode diff view.
'Typical' terminal applications like bash, vim or tmux work are perfectly useable under the same conditions.
Just a note: the suggested bun x opencode-ai@opentui tag no longer resolves ("Package opencode-ai with tag opentui not found").
Adding another use case here: when using OpenCode in a small/split terminal window, both the header bar and input bar take up a disproportionate amount of vertical space. A config option like tui.compact_mode: true or granular tui.header_height / tui.input_height settings would be very helpful for constrained environments.
Currently the only TUI config options are scroll-related (scroll_speed, scroll_acceleration, diff_style) - nothing for layout/sizing.
Activity
github-actions commentedon Oct 29, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 29, 2025
we are currently rewriting the tui and it may better address some of this, feel free to try it (still a wip):
bun x opencode-ai@opentuitnglemongrass commentedon Oct 29, 2025
Thanks, will try it!
fix(tui): hide logo and adjust layout for small terminals
ratacat commentedon Feb 1, 2026
Just a note: the suggested
bun x opencode-ai@opentuitag no longer resolves ("Package opencode-ai with tag opentui not found").Adding another use case here: when using OpenCode in a small/split terminal window, both the header bar and input bar take up a disproportionate amount of vertical space. A config option like
tui.compact_mode: trueor granulartui.header_height/tui.input_heightsettings would be very helpful for constrained environments.Currently the only TUI config options are scroll-related (
scroll_speed,scroll_acceleration,diff_style) - nothing for layout/sizing.github-actions commentedon Apr 3, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.