Skip to content

Mouse Issue again #849

Closed
Closed

Description

@astray-heavy-arms

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

Activity

  1. mitsuhiko commented on Jul 15, 2025

    @mitsuhiko

    Can confirm I have this. It does scroll sometimes but it renders escape sequences into the chatbox at times. Looks like this:

    Image
  2. adamdotdevin commented on Jul 15, 2025

    @adamdotdevin
    Member

    yeah, i'll address this today. i had a fix and then introduced a regression when trying to improve performance.

  3. adamdotdevin commented on Jul 15, 2025

    @adamdotdevin
    Member

    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

  4. nandcello commented on Jul 17, 2025

    @nandcello

    Hey @adamdotdevin I'm still experiencing this issue in v0.3.13 (even in v0.3.17)

    Image

    what's worse is that if opencode is working; this issue interrupts and stops the work. Only happens in BUILD MODE.

  5. adamdotdevin commented on Jul 17, 2025

    @adamdotdevin
    Member

    Hey @adamdotdevin I'm still experiencing this issue in v0.3.13 (even in v0.3.17)

    Image

    what's worse is that if opencode is working; this issue interrupts and stops the work. Only happens in BUILD MODE.

    what kind of mouse are you using? and OS?

  6. nandcello commented on Jul 17, 2025

    @nandcello

    what kind of mouse are you using? and OS?

    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

  7. mitsuhiko commented on Jul 19, 2025

    @mitsuhiko

    For me it happens with the internal and external Apple touchpad on Sequoia.

  8. adamdotdevin commented on Jul 19, 2025

    @adamdotdevin
    Member

    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.

  9. Hyvok commented on Sep 11, 2025

    @Hyvok

    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.

  10. nandcello commented on Sep 12, 2025

    @nandcello

    prolly just wait for the opentui port to come through then hopefully this issue will be solved.

  11. rekram1-node commented on Sep 12, 2025

    @rekram1-node
    Contributor

    yep^^

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions