Repository navigation
opentui: tui not resizing when window resizes #3328
Description
Activity
- addedbugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
on Oct 21, 2025 github-actions commented
on Oct 21, 2025 on Oct 21, 2025 – with GitHub ActionsContributorMore actionsThis issue might be a duplicate of existing issues. Please check:
- [UI Error] cursor floats when terminal is a certain size #3271: Similar UI layout problem where cursor floats when terminal is resized to certain dimensions
- Message layout sometimes not rendered full-width #2428: Message layout issues where terminal resize events aren't processed correctly, causing layout problems
- Plan mode in status line is cut off when window width is narrow #1105: Layout issues when window width is narrow, related to TUI not adapting properly to window size changes
Feel free to ignore if none of these address your specific case.
Powershell version -
Major Minor Build Revision ----- ----- ----- -------- 5 1 19041 6456Reacted by Aiden ClineI can confirm this bug on Windows 10. Windows standard terminal (cmd) and powershell 7.5.4.
@yurii-sio2 this is an upstream bug in bun that will be fixed later today when bun releases their next version. Once that ships we can upgrade bun here and send out a new release with the fix
Hi, has there been any progress on this front?
Adding some more evidence, the TUI completely breaks when resized horizontally. Vertically, it seems fine though
idea64_xpk3xH8gEa.mp4
The bun bug was fixed and windows users reported this as addressed, i just forgot to close this
we can open a new on for you, what terminal and os?
and what oc version
Hi @rekram1-node, thank you
OpenCode version
1.0.134Operating System
Windows 11Terminal
JetBrains Terminalwhat version of jetbrains are you using? It isnt sending proper signals most likely
may not be something we can fix its prolly on their end
@rekram1-node latest IntelliJ IDEA 2025.3, Build #IU-253.28294.334, built on December 5, 2025
Weird, because Claude Code still maintains the input boxes and is still usable somehow
idea64_IUZymmvvqX.mp4
I'm seeing this same issue in WebStorm FWIW. Gemini and Clade Code detect resize perfectly in the same terminal window.
Doesn't work on hyprland, could you implement a simple /resize command?
Reacted by Joe DeMatteo and Luiz Amaral
Description
n/a
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
Operating System
Windows 10
Terminal
Wezterm