Skip to content

selection doesn't update when scrolling via the scroll wheel. #7453

@lolbinarycat

Description

@lolbinarycat

Steps to reproduce the behavior:

  1. run yes to fill up the scrollback buffer
  2. hold mouse1
  3. scroll up without moving your mouse

here's an untested patch i guess. i was going to submit a PR properly, but i couldn't wrap my head around the 3 different build systems. also i don't really trust software that's still using openssl 1.1

diff --git a/kitty/mouse.c b/kitty/mouse.c
index 792403d..46cd734 100644
--- a/kitty/mouse.c
+++ b/kitty/mouse.c
@@ -980,7 +980,7 @@ scroll_event(double xoffset, double yoffset, int flags, int modifiers) {
             }
         }
     }
-
+    update_drag(w);
 }
 
 static PyObject*

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions