From 6ea68f9af2569ea87b7d243c5bbe4f3bc4c8fa44 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 3 Jul 2026 21:50:34 +0300 Subject: fix: forward page keys to primary-screen pagers refs #953 --- src/pane/terminal.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pane') diff --git a/src/pane/terminal.rs b/src/pane/terminal.rs index 79b4a19e..4876121f 100644 --- a/src/pane/terminal.rs +++ b/src/pane/terminal.rs @@ -97,6 +97,10 @@ impl InputState { pub fn mouse_reporting_enabled(self) -> bool { self.mouse_protocol_mode.reporting_enabled() } + + pub fn plain_page_keys_use_host_scrollback(self) -> bool { + !self.alternate_screen && !self.mouse_reporting_enabled() && !self.application_cursor + } } #[derive(Debug, Clone, PartialEq, Eq)] -- cgit v1.2.3