From 20ab508dad0f3edecbb565ccaa6676d092ad7959 Mon Sep 17 00:00:00 2001 From: Zastian Pretorius Date: Thu, 11 Aug 2022 17:38:27 +0100 Subject: [PATCH] swithed to i to search in ln --- src/ln/ln.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ln/ln.rs b/src/ln/ln.rs index aca5b79..8d3c230 100644 --- a/src/ln/ln.rs +++ b/src/ln/ln.rs @@ -155,7 +155,7 @@ fn run_app(terminal: &mut Terminal, mut app: App) -> io::Result<( if let Event::Key(key) = event::read()? { match app.input_mode { InputMode::Normal => match key.code { - KeyCode::Char('o') => { + KeyCode::Char('i') => { app.input_mode = InputMode::Editing; } KeyCode::Char('q') => { @@ -309,7 +309,7 @@ fn ui(f: &mut Frame, app: &mut App) { Span::raw("Press "), Span::styled("q", Style::default().add_modifier(Modifier::BOLD)), Span::raw(" to exit, "), - Span::styled("o", Style::default().add_modifier(Modifier::BOLD)), + Span::styled("i", Style::default().add_modifier(Modifier::BOLD)), Span::raw(" to search, "), Span::styled("h", Style::default().add_modifier(Modifier::BOLD)), Span::raw(" to go to the previous page, "),