OpenCode Crashes then outputs garbled tokens - ;5M[555;27;47M[555 #7698

Closed
opened 2026-02-16 18:07:57 -05:00 by yindo · 4 comments
Owner

Originally created by @ultradaoto on GitHub (Jan 27, 2026).

Originally assigned to: @kommander on GitHub.

Description

I don't even know how to describe this, but even when I've completely CTRL+C'd out it still outputs all of this.

Definitely been using Google Auth method, maybe related, running powershell 7.

Plugins

Google Oauth

OpenCode version

1.1.36

Steps to reproduce

Long coding session using Google OAuth Gemini 3 Pro
When context hits 25% OpenCode will crash and start outputing this garbled code
Ctrl+C will return you to your windows PS shell command line environment again
When you type of scroll wheel up or down, more of these tokens will fill up the screen.

Screenshot and/or share link

Image

Operating System

Windows 11 Pro

Terminal

PowerShell 7 (x64)

Originally created by @ultradaoto on GitHub (Jan 27, 2026). Originally assigned to: @kommander on GitHub. ### Description I don't even know how to describe this, but even when I've completely CTRL+C'd out it still outputs all of this. Definitely been using Google Auth method, maybe related, running powershell 7. ### Plugins Google Oauth ### OpenCode version 1.1.36 ### Steps to reproduce Long coding session using Google OAuth Gemini 3 Pro When context hits 25% OpenCode will crash and start outputing this garbled code Ctrl+C will return you to your windows PS shell command line environment again When you type of scroll wheel up or down, more of these tokens will fill up the screen. ### Screenshot and/or share link <img width="1047" height="521" alt="Image" src="https://github.com/user-attachments/assets/cbd64a61-50b3-4633-a6d0-06030b00852a" /> ### Operating System Windows 11 Pro ### Terminal PowerShell 7 (x64)
yindo added the windowsopentuibug labels 2026-02-16 18:07:57 -05:00
yindo closed this issue 2026-02-16 18:07:58 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10719: Terminal state not restored when exiting with ctrl+c on windows (git bash) - Similar garbled ANSI escape sequences after Ctrl+C
  • #10638: Input field disappears and error data is shown in the background while waiting for model response - Windows 11 TUI rendering issues
  • #10629: On Windows 11, running opencode in the IntelliJ IDEA terminal fails to display correctly - Windows 11 display corruption
  • #10776: There was a problem with the TUI display - General TUI display problems

The common thread appears to be terminal rendering/state restoration issues on Windows when context limits are hit or during terminal interactions.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 27, 2026): This issue might be a duplicate of existing issues. Please check: - #10719: Terminal state not restored when exiting with ctrl+c on windows (git bash) - Similar garbled ANSI escape sequences after Ctrl+C - #10638: Input field disappears and error data is shown in the background while waiting for model response - Windows 11 TUI rendering issues - #10629: On Windows 11, running opencode in the IntelliJ IDEA terminal fails to display correctly - Windows 11 display corruption - #10776: There was a problem with the TUI display - General TUI display problems The common thread appears to be terminal rendering/state restoration issues on Windows when context limits are hit or during terminal interactions. Feel free to ignore if none of these address your specific case.
Author
Owner

@ultradaoto commented on GitHub (Jan 27, 2026):

Adding this as it happened again today, this time was running OpenCode- Ollama Kimik2.5:cloud

It just kind of halted, the text entry box dissapeared, and when I tried typing, it started displaying all of these strange errors.

Image
@ultradaoto commented on GitHub (Jan 27, 2026): Adding this as it happened again today, this time was running OpenCode- Ollama Kimik2.5:cloud It just kind of halted, the text entry box dissapeared, and when I tried typing, it started displaying all of these strange errors. <img width="1779" height="167" alt="Image" src="https://github.com/user-attachments/assets/5fda8f6f-0766-46ed-bdd0-4d4e20757f71" />
Author
Owner

@FanningHau commented on GitHub (Feb 3, 2026):

same here

@FanningHau commented on GitHub (Feb 3, 2026): same here
Author
Owner

@Hona commented on GitHub (Feb 12, 2026):

this is fixed as of 1.1.60

@Hona commented on GitHub (Feb 12, 2026): this is fixed as of 1.1.60
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7698