diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-03 21:50:34 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-03 21:50:34 +0300 |
| commit | 6ea68f9af2569ea87b7d243c5bbe4f3bc4c8fa44 (patch) | |
| tree | de4e52eadb105103ddb71bca87e19de377d64eed /src/pane | |
| parent | 045f506ec8a333cde84718304a7d21bcdb93a1fc (diff) | |
fix: forward page keys to primary-screen pagers
refs #953
Diffstat (limited to 'src/pane')
| -rw-r--r-- | src/pane/terminal.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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)] |
