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
When in build mode and I get a long response if I click the message box and scroll up and down in the "chat" mouse scroll chars are rendered in the chat box.
This is pretty dangerous as it then makes it impossible to ESC and you cannot type /exit. 0.2.23
will do some more work here; i know i've lessened it, and i know the performance of momentum based scrolls has improved, but i've also still seen the characters creeping in if i try hard enough on my trackpad. will figure it out.
I had this happen today on OpenCode 0.7.1. Mouse scrolling just produced chars in the textbox, writing anything did not work, only way I could exit OpenCode was to close the terminal/kill.
Activity
mitsuhiko commentedon Jul 15, 2025
Can confirm I have this. It does scroll sometimes but it renders escape sequences into the chatbox at times. Looks like this:
adamdotdevin commentedon Jul 15, 2025
yeah, i'll address this today. i had a fix and then introduced a regression when trying to improve performance.
adamdotdevin commentedon Jul 15, 2025
i think i've resolved the ansi leaking and perf issues during momentum scroll, can someone confirm in https://github.com/sst/opencode/releases/tag/v0.3.10
nandcello commentedon Jul 17, 2025
Hey @adamdotdevin I'm still experiencing this issue in v0.3.13 (even in v0.3.17)
what's worse is that if opencode is working; this issue interrupts and stops the work. Only happens in BUILD MODE.
adamdotdevin commentedon Jul 17, 2025
what kind of mouse are you using? and OS?
nandcello commentedon Jul 17, 2025
Logitech MX Master 3S (scroll setting default is ratchet and then goes to free wheel when scrolling fast which is what triggers the issue for me).
MacOS Sequoia 15.5
mitsuhiko commentedon Jul 19, 2025
For me it happens with the internal and external Apple touchpad on Sequoia.
adamdotdevin commentedon Jul 19, 2025
will do some more work here; i know i've lessened it, and i know the performance of momentum based scrolls has improved, but i've also still seen the characters creeping in if i try hard enough on my trackpad. will figure it out.
Hyvok commentedon Sep 11, 2025
I had this happen today on OpenCode 0.7.1. Mouse scrolling just produced chars in the textbox, writing anything did not work, only way I could exit OpenCode was to close the terminal/kill.
nandcello commentedon Sep 12, 2025
prolly just wait for the opentui port to come through then hopefully this issue will be solved.
rekram1-node commentedon Sep 12, 2025
yep^^