File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,6 @@ impl DMI {
195195
196196 pub fn handle_key_events ( & mut self , key_event : KeyEvent ) {
197197 match key_event. code {
198- KeyCode :: Up | KeyCode :: Char ( 'k' ) => { }
199- KeyCode :: Down | KeyCode :: Char ( 'j' ) => { }
200198 KeyCode :: Tab => match self . focused_section {
201199 FocusedSection :: Firmware => self . focused_section = FocusedSection :: System ,
202200 FocusedSection :: System => self . focused_section = FocusedSection :: Baseboard ,
@@ -301,9 +299,7 @@ impl DMI {
301299 ) ;
302300
303301 // Help banner
304- let message = Line :: from ( "↑,k : Up | ↓,j : Down | ⇆ : Navigation" )
305- . centered ( )
306- . cyan ( ) ;
302+ let message = Line :: from ( "⇆ : Navigation" ) . centered ( ) . cyan ( ) ;
307303
308304 frame. render_widget ( message, help_block) ;
309305
You can’t perform that action at this time.
0 commit comments