From e35f7969dc8f5cdf7be1817bb307e65a9a94b52e Mon Sep 17 00:00:00 2001 From: dvkt Date: Thu, 26 Dec 2019 15:05:23 -0800 Subject: [PATCH] find --- src/menu.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu.rs b/src/menu.rs index d2f84fb..e78de4c 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -177,7 +177,7 @@ impl Menu { fn render_input(&self) -> String { format!( - "{}{}{}Search:\x1b[0m {}{}", + "{}{}{}find:\x1b[0m {}{}", termion::cursor::Goto(1, self.rows() as u16), color::Bg(color::White), color::Fg(color::Black), @@ -526,7 +526,7 @@ impl Menu { Key::PageDown | Key::Ctrl(' ') => self.action_page_down(), Key::Char('-') => self.action_page_up(), Key::Char(' ') => self.action_page_down(), - Key::Char('i') | Key::Char('/') => { + Key::Char('f') | Key::Char('i') | Key::Char('/') => { self.searching = true; Action::Redraw }