diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -166,9 +166,11 @@ pub fn handle_key_event_or_break( } KeyCode::Char('a') => app.skip_cursor_beginning(), KeyCode::Char('e') => app.skip_cursor_end(), - KeyCode::Char('u') => app.clear_search(), + KeyCode::Char('u') if app.is_in_search_widget() => app.clear_search(), KeyCode::Char('w') => app.clear_previous_word(), KeyCode::Char('h') => app.on_backspace(), + KeyCode::Char('d') => app.scroll_half_page_down(), + KeyCode::Char('u') => app.scroll_half_page_up(), // KeyCode::Char('j') => {}, // Move down // KeyCode::Char('k') => {}, // Move up // KeyCode::Char('h') => {}, // Move right |