Random Artifactts In Terminal After Running #3741

Open
opened 2026-02-16 17:41:17 -05:00 by yindo · 10 comments
Owner

Originally created by @zQueal on GitHub (Dec 22, 2025).

Originally assigned to: @kommander on GitHub.

Description

Seems to be tied to mouse movement.

Edition	Windows 10 Enterprise
Version	22H2
Installed on	‎8/‎12/‎2024
OS build	19045.4651
Experience	Windows Feature Experience Pack 1000.19060.1000.0

Shell: Elvish 0.22.0-dev.0.20250105223521-dad2f5cb138c+official

OpenCode version

1.0.185

Steps to reproduce

  1. Open opencode, do stuff
  2. /exit
  3. Continue working -> random artifacts begin showing up

Screenshot and/or share link

Image

Operating System

Windows 10 Enterprise

Terminal

wezterm 20240203-110809-5046fc22

Originally created by @zQueal on GitHub (Dec 22, 2025). Originally assigned to: @kommander on GitHub. ### Description Seems to be tied to mouse movement. ```txt Edition Windows 10 Enterprise Version 22H2 Installed on ‎8/‎12/‎2024 OS build 19045.4651 Experience Windows Feature Experience Pack 1000.19060.1000.0 ``` Shell: `Elvish 0.22.0-dev.0.20250105223521-dad2f5cb138c+official` ### OpenCode version 1.0.185 ### Steps to reproduce 1. Open `opencode`, do stuff 2. `/exit` 3. Continue working -> random artifacts begin showing up ### Screenshot and/or share link <img width="1359" height="116" alt="Image" src="https://github.com/user-attachments/assets/8d82a273-70ae-4ecb-8510-fc5fd05b84a7" /> ### Operating System Windows 10 Enterprise ### Terminal wezterm 20240203-110809-5046fc22
yindo added the windowsopentuibug labels 2026-02-16 17:41:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 22, 2025):

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

  • #5824: Switching branches causes visual artifacts in TUI
  • #5283: Graphical glitches - random TUI artifacts with old text getting stuck
  • #1864: TUI rendering artifacting on Windows
  • #3541: The screen is bugging out with the new Screen? Graphic or opencode bug (Windows-specific)

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

@github-actions[bot] commented on GitHub (Dec 22, 2025): This issue might be a duplicate of existing issues. Please check: - #5824: Switching branches causes visual artifacts in TUI - #5283: Graphical glitches - random TUI artifacts with old text getting stuck - #1864: TUI rendering artifacting on Windows - #3541: The screen is bugging out with the new Screen? Graphic or opencode bug (Windows-specific) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 22, 2025):

We have a few other issues tracking this. Will fix

@rekram1-node commented on GitHub (Dec 22, 2025): We have a few other issues tracking this. Will fix
Author
Owner

@zQueal commented on GitHub (Dec 22, 2025):

I don't really feel as if they're the same issue. They're both graphical glitches, but mine is literal characters being input into my terminal even after opencode is closed. They're not just visual fragments, they're actual characters tied--for whatever reason--to mouse movement. (moving the mouse more increases the occurrence of these fragments).

The other issues just seem to be random renderings and not actual characters being input into the console.

Image
@zQueal commented on GitHub (Dec 22, 2025): I don't really feel as if they're the same issue. They're both graphical glitches, but mine is literal characters being input into my terminal even after opencode is closed. They're not just visual fragments, they're actual characters tied--for whatever reason--to mouse movement. (moving the mouse more increases the occurrence of these fragments). The other issues just seem to be random renderings and not actual characters being input into the console. <img width="755" height="69" alt="Image" src="https://github.com/user-attachments/assets/f22b88a1-2ff5-4e96-b009-9d9047be3011" />
Author
Owner

@rostrovsky commented on GitHub (Jan 7, 2026):

I have the same issue on Windows Terminal 1.21.3231.0 running git-bash. After closing OC via /exit, any mouse movement (or clicks) inputs text into terminal.

Text is something like:

35;104;31m35;102;30m35;94;26m35 ...

Interestingly I have Ubuntu 22.04 configured in WSL which I use in the exactly same terminal with tmux and zsh and everything works fine there so it doesn't seem to be related to Windows Terminal itself.

@rostrovsky commented on GitHub (Jan 7, 2026): I have the same issue on Windows Terminal 1.21.3231.0 running git-bash. After closing OC via `/exit`, any mouse movement (or clicks) inputs text into terminal. Text is something like: ``` 35;104;31m35;102;30m35;94;26m35 ... ``` Interestingly I have Ubuntu 22.04 configured in WSL which I use in the exactly same terminal with tmux and zsh and everything works fine there so it doesn't seem to be related to Windows Terminal itself.
Author
Owner

@zQueal commented on GitHub (Jan 7, 2026):

Confirmed still happening in the latest CLI build, as well.

@zQueal commented on GitHub (Jan 7, 2026): Confirmed still happening in the latest CLI build, as well.
Author
Owner

@geomorillo commented on GitHub (Jan 11, 2026):

happening to me too on windows 11 latest version

@geomorillo commented on GitHub (Jan 11, 2026): happening to me too on windows 11 latest version
Author
Owner

@Simplereally commented on GitHub (Jan 19, 2026):

still happening w10
alacritty

@Simplereally commented on GitHub (Jan 19, 2026): still happening w10 alacritty
Author
Owner

@zachary-wang12 commented on GitHub (Jan 26, 2026):

This is really annoying... Shall we put it into higer priority?

@zachary-wang12 commented on GitHub (Jan 26, 2026): This is really annoying... Shall we put it into higer priority?
Author
Owner

@Logonz commented on GitHub (Jan 28, 2026):

Happens in Windows Terminal + gitbash as well.

No characters get output until you move the mouse over the window.

@Logonz commented on GitHub (Jan 28, 2026): Happens in Windows Terminal + gitbash as well. No characters get output until you move the mouse over the window.
Author
Owner

@pierrecorsini commented on GitHub (Feb 7, 2026):

Still happening, 1.1.53 , Windows 11, tested on cmd/powershell/gitbash.

@pierrecorsini commented on GitHub (Feb 7, 2026): Still happening, 1.1.53 , Windows 11, tested on cmd/powershell/gitbash.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3741