diff --git a/src/tui.rs b/src/tui.rs index 9799c01..a5e3305 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -349,6 +349,10 @@ impl Tui { term.push(c); Some(InputAction::Redraw) } + KeyCode::Backspace if let BottomMessage::Input(InputCommand::Search(ref mut term)) = self.bottom_msg => { + term.pop(); + Some(InputAction::Redraw) + }, KeyCode::Char(c) if let BottomMessage::Input(InputCommand::GoToPage(ref mut page)) = self.bottom_msg =>