Skip to content

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

Closed

Description

@ultradaoto

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)

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 27, 2026
  2. github-actions commented on Jan 27, 2026

    @github-actions
    Contributor

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

    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.

  3. ultradaoto commented on Jan 28, 2026

    @ultradaoto
    Author

    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
  4. fanninghau commented on Feb 4, 2026

    @fanninghau

    same here

  5. Hona commented on Feb 12, 2026

    @Hona
    Member

    this is fixed as of 1.1.60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions