Clenaup previous PR

Make pixel scrolling the default. Fix memory leak where blank line was
not being deallocated in Screen destructor.
This commit is contained in:
Kovid Goyal 2026-01-08 11:01:34 +05:30
parent 0168d19e57
commit da45f7eeaa
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
8 changed files with 36 additions and 53 deletions

View file

@ -153,7 +153,9 @@ Detailed list of changes
0.45.1 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Wayland: Add momentum scrolling for touchpads
- Pixel scrolling for the kitty scrollback buffer controlled via :opt:`pixel_scroll` (:pull:`9330`)
- Wayland: Add momentum scrolling in the kitty scrollback buffer for touchpads and touchscreens
- choose-files kitten: Fix JXL image preview not working (:iss:`9323`)

View file

@ -206,16 +206,6 @@ displays an interactive :opt:`scrollbar` along the right edge
of the window that shows your current position in the scrollback. You can click
and drag the scrollbar to quickly navigate through the history.
If you use a highprecision input device such as a touchpad, you can enable
smooth, perpixel scrollback with :opt:`pixel_scroll`. For example, add this to
your :file:`kitty.conf`::
pixel_scroll yes
You can further tune the sensitivity with :opt:`touch_scroll_multiplier`. Note
that this only affects scrolling kitty's own scrollback, not applications
running inside the terminal that handle their own scrolling.
However, |kitty| has an extra, neat feature. Sometimes you need to explore the scrollback
buffer in more detail, maybe search for some text or refer to it side-by-side
while typing in a follow-up command. |kitty| allows you to do this by pressing