Unconsumable page scroll keybind not working as expected #7379
-
Issue DescriptionI have the following keybindings: When I read the It partially works, at least neovim is now receiving the keypresses... but the regular terminal binding is no longer working! I can't page up/down the scrollback buffer. It flickers as if it trying to scroll, but something is interrupting it. If I scroll up with the mousewheel, and then use either keybinding, it jumps back to the command line. Has anyone encountered this behavior? It seems like a bug to me. Expected BehaviorI expected the page up/down keybindings to scroll the terminal buffer. Actual BehaviorThe terminal text flickers and then remains in the original position. It's not possible to see the scrollback buffer. Reproduction Steps
Ghostty LogsNo response Ghostty VersionOS Version InformationArch (Linux only) Display ServerNone (Linux only) Desktop Environment/Window Managerriver (wayland compositor) Minimal Ghostty Configurationkeybind = unconsumed:page_down=scroll_page_lines:28
keybind = unconsumed:page_up=scroll_page_lines:-28Additional Relevant ConfigurationNo response I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This behaviour is what
My guess as to what is happening is that the screen is successfully scrolled up, but then page down is sent which immediately moves the view to the bottom (which is what happens on any key press), causing a flicker and no noticeable effect. For me, it seems to do it in the opposite order: the view is taken to the bottom, then the page is scrolled up. The end result for me is that I can scroll up one page, but it stops working after that: I can never scroll up two pages with two presses of page up. The view should probably not be moved to the bottom when an |
Beta Was this translation helpful? Give feedback.
This behaviour is what
performable:gives. Unfortunately, it doesn't currently work forscroll_*keybinding actions; see #6765 for the tracking issue.My guess as to what is happening is that the screen is successfully scrolled up, but then page down is sent which immediately moves the view to the bottom (which is what happens o…