opencode icon indicating copy to clipboard operation
opencode copied to clipboard

The screen is bugging out with the new "Screen"? Graphic or opencode bug

Open ermaxlu opened this issue 2 months ago • 7 comments

Description

So the thing is, I learned out you can use AI in terminal from networkChuck, now opencode is insane. the only bug that i expirenced was , i get so many screen bugs ( on windows) i've been using wlc to get ubuntu on windows, works perfect fine , great work.

now heres the problem: if you're using windows with opencode , Idk if its the problem that i used the Npm to install it. but if i remember correctly it also happend on the .zip from the git, now let's talk about it if im talking with it , sometimes i do /clear and it doesnt work , or if i scroll up it like removes the bottom and then i cant scroll down and i can't see anything from the new / other stuff. its a big problem also

the image shows it perfectly:

could be a easy fix , or not. its important tho . but reloading fixes it, also if i reload the graphics drivers it doesnt work so its a bug with the game

Image

also may it be a terminal bug? if yea what kind of terminal would you recommend

OpenCode version

v0.15.26

Steps to reproduce

Fix the bug but idk why , and how its going on. maybe its the writing the spaces , or a graphical bug

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows terminal

ermaxlu avatar Oct 29 '25 17:10 ermaxlu

Image

happends randomly

ermaxlu avatar Oct 29 '25 17:10 ermaxlu

(i used /clear thats one reason why and also if i scroll up like i meantioned)

ermaxlu avatar Oct 29 '25 17:10 ermaxlu

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

  • #404: Windows Multiple Display Issue - Reports being unable to scroll in sessions and visual bugs when scrolling down where text gets stacked together on Windows
  • #2821: Recommended Terminal for Windows - Reports inability to scroll and answers getting squashed with only few lines readable across all Windows terminals tested
  • #631: Windows Support - A meta issue tracking all Windows-related problems including display/scrolling issues
  • #2548: Windows WSL/Jetbrains Goland scrolling bug - Reports scrolling issues where input box shows previous messages and characters get stuck when scrolling
  • #1864: TUI rendering artifacting - Reports TUI not being re-rendered/force-updated on Windows with visual artifacts
  • #2355: Bug: builtin command aliases like /clear don't work - Specifically mentions /clear command not working (same issue you mentioned)

The symptoms you're describing (Windows screen bugs, scrolling problems where you can't scroll down after scrolling up, /clear command not working) are very similar to these existing reports.

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

github-actions[bot] avatar Oct 29 '25 17:10 github-actions[bot]

seems like switching sessions doesnt work too

ermaxlu avatar Oct 29 '25 17:10 ermaxlu

This is a beta but is it better if u try bun x opencode-ai@opentui?

We are rewriting the tui and it fixes a lot of similar issues

rekram1-node avatar Oct 29 '25 20:10 rekram1-node

I need to install bash but i aint rn

(Said before the top) i mean i aint gonna do it now , but like im using ubuntu . its perfect , just windows is fucking around , first theres the paste bug, then this, then a infinite search bug (but you can escape as i found out)

ermaxlu avatar Oct 30 '25 14:10 ermaxlu

@ermaxlu is this still an issue? seems good for me now

Hona avatar Jan 05 '26 23:01 Hona