Skip to content

Mouse scrolling doesn't work in Windows Terminal #183

@GoodClover

Description

@GoodClover

For a demonstration of the bug, a video explains best:
Amfora scroll-back bug demonstration video
(This is Windows Terminal with cmd)

When you either change your terminal's font size (what I did in the video) or resize the terminal window, Amfora re-renders everything to fit (already better than some programs :).
However, it appears that rather than clearing the entire screen + scroll-back it just clears the screen and leaves a messed up scroll-back.
As far as I can tell this is the only thing that can cause this issue in amfora.

I presume that this caused by a use of the ED escape sequence mode 2 instead of mode 3, meaning that the screen is cleared and not the scroll-back.
Either that or a different sequence of escape codes that is not ED is being used to clear the screen, in that case it should be switched to ED.

image
Above screenshot from Wikipedia

This may actually be an upstream issue, but I'm not a Go programmer so idk

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamThe issue is with a library.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions