diff --git a/src/uu/more/src/more.rs b/src/uu/more/src/more.rs index 6cf9df1ab..52d181b79 100644 --- a/src/uu/more/src/more.rs +++ b/src/uu/more/src/more.rs @@ -257,6 +257,11 @@ fn more(buff: &str, stdout: &mut Stdout, next_file: Option<&str>, silent: bool) modifiers: KeyModifiers::NONE, .. }) + | Event::Key(KeyEvent { + code: KeyCode::PageDown, + modifiers: KeyModifiers::NONE, + .. + }) | Event::Key(KeyEvent { code: KeyCode::Char(' '), modifiers: KeyModifiers::NONE, @@ -272,6 +277,11 @@ fn more(buff: &str, stdout: &mut Stdout, next_file: Option<&str>, silent: bool) code: KeyCode::Up, modifiers: KeyModifiers::NONE, .. + }) + | Event::Key(KeyEvent { + code: KeyCode::PageUp, + modifiers: KeyModifiers::NONE, + .. }) => { pager.page_up(); }