diff --git a/src/engine.rs b/src/engine.rs index fc6b4285f2756..ad52ffee9635a 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -364,6 +364,12 @@ impl Engine { KeyCode::Right => { self.run_edit_commands(&[EditCommand::MoveWordRight]); } + KeyCode::Char('p') => { + self.run_edit_commands(&[EditCommand::PreviousHistory]); + } + KeyCode::Char('n') => { + self.run_edit_commands(&[EditCommand::NextHistory]); + } _ => {} }, Event::Key(KeyEvent {