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: prompt rows wrap mid-word in narrow terminals #53061
In a narrow terminal (about 60 columns or less), the two rows under the session prompt wrap character by character. Every text in each row is allowed to shrink, so the agent name, the model, the directory and the shortcut hints all get squeezed at once and wrap mid-word (Buil / d) instead of one item giving way.
#44551 shows the same wrapping in its captures; that issue was closed because its blank-row symptom came from the terminal app, but the wrapping itself reproduces in a normal terminal.
Plugins
None (--pure)
OpenCode version
1.18.34
Steps to reproduce
Open an existing session in a 40-column terminal: opencode --pure --continue
Look at the agent/model row and the directory row under the prompt.
Screenshot and/or share link
At 40 columns:
┃ Buil ·Abliterated Model ablite
┃ d ration
┃ .ai
╹▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
/Users/m/Code/ 132.1 ctrl+p
opencode commands
This issue might be a duplicate of existing issues. Please check:
#44551: reports prompt/footer wrapping in narrow terminals in the same TUI area, though its reported symptom is excess blank rows rather than mid-word wrapping.
For keybind-related issues, please also check our pinned keybinds documentation: #4997
Activity
github-actions commentedon Oct 4, 2026
This issue might be a duplicate of existing issues. Please check:
For keybind-related issues, please also check our pinned keybinds documentation: #4997
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊