LukeSmithxyz / st

Luke's fork of the suckless simple terminal (st) with vim bindings and Xresource compatibility.
MIT License
1.64k stars 1.01k forks source link

Mouse buttons all act the same #344

Closed KaiJan57 closed 2 years ago

KaiJan57 commented 2 years ago

With a recent commit, all mouse buttons send the same escape code to e.g. vim, breaking much of mouse=a functionality, i.e. text selection, scrolling etc, as all the events are interpreted as clicking. This can easily be fixed by removing int code and replacing all references to it by button, though the proper way is to sync with upstream

sbradnick commented 2 years ago

I noticed I was suffering from this too. After 4c57f1f things are certainly better; for instance, switching tabs works again (vs. opening new ones over and over per click). I can scroll up with the mouse wheel - if I use page-down a few times first - but I can't scroll down.