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
Switching branches causes visual artifacts in TUI #5824
Switching branches mid-session causes visual defects to appear in the TUI.
Since opencode sessions can often transit between many different branches, this frequently causes defects to appear (for example, by the time my "merge these 24 branches" custom slash command is done, there's quite a mess leftover).
OpenCode version
HEAD of dev at time of posting this Issue.
Steps to reproduce
Start opencode.
Use a shell command to switch branches(either in opencode's shell mode, a separate terminal window, or ask the model to do it, doesn't matter).
Activity
github-actions commentedon Dec 20, 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 Dec 20, 2025
wtf
rekram1-node commentedon Dec 20, 2025
I think this is your setup or a plugin?
Cannot replicate
ariane-emory commentedon Dec 20, 2025
@rekram1-node Hmmm... I'll try nuking all the various bun caches and see if that makes any differences, maybe something's gotten mixed up somewhere.
rekram1-node commentedon Dec 22, 2025
havent' seen other reports of this, going to close for now