@@ -238,8 +238,8 @@ fn build_lines(
238238
239239 let help_helps = vec ! [
240240 ( vec![ UserEvent :: HelpToggle , UserEvent :: Cancel , UserEvent :: Close ] , "Close help" . into( ) ) ,
241- ( vec![ UserEvent :: NavigateDown ] , "Scroll down" . into( ) ) ,
242- ( vec![ UserEvent :: NavigateUp ] , "Scroll up" . into( ) ) ,
241+ ( vec![ UserEvent :: NavigateDown , UserEvent :: SelectDown ] , "Scroll down" . into( ) ) ,
242+ ( vec![ UserEvent :: NavigateUp , UserEvent :: SelectUp ] , "Scroll up" . into( ) ) ,
243243 ( vec![ UserEvent :: PageDown ] , "Scroll page down" . into( ) ) ,
244244 ( vec![ UserEvent :: PageUp ] , "Scroll page up" . into( ) ) ,
245245 ( vec![ UserEvent :: HalfPageDown ] , "Scroll half page down" . into( ) ) ,
@@ -250,8 +250,8 @@ fn build_lines(
250250 let ( help_key_lines, help_value_lines) = build_block_lines ( "Help:" , help_helps, color_theme, keybind) ;
251251
252252 let mut list_helps = vec ! [
253- ( vec![ UserEvent :: NavigateDown ] , "Move down" . into( ) ) ,
254- ( vec![ UserEvent :: NavigateUp ] , "Move up" . into( ) ) ,
253+ ( vec![ UserEvent :: NavigateDown , UserEvent :: SelectDown ] , "Move down" . into( ) ) ,
254+ ( vec![ UserEvent :: NavigateUp , UserEvent :: SelectUp ] , "Move up" . into( ) ) ,
255255 ( vec![ UserEvent :: GoToParent ] , "Go to parent" . into( ) ) ,
256256 ( vec![ UserEvent :: GoToTop ] , "Go to top" . into( ) ) ,
257257 ( vec![ UserEvent :: GoToBottom ] , "Go to bottom" . into( ) ) ,
@@ -288,6 +288,8 @@ fn build_lines(
288288 ( vec![ UserEvent :: HalfPageUp ] , "Scroll half page up" . into( ) ) ,
289289 ( vec![ UserEvent :: GoToTop ] , "Go to top" . into( ) ) ,
290290 ( vec![ UserEvent :: GoToBottom ] , "Go to bottom" . into( ) ) ,
291+ ( vec![ UserEvent :: SelectDown ] , "Select next commit" . into( ) ) ,
292+ ( vec![ UserEvent :: SelectUp ] , "Select previous commit" . into( ) ) ,
291293 ( vec![ UserEvent :: ShortCopy ] , "Copy commit short hash" . into( ) ) ,
292294 ( vec![ UserEvent :: FullCopy ] , "Copy commit hash" . into( ) ) ,
293295 ] ;
@@ -296,8 +298,8 @@ fn build_lines(
296298
297299 let refs_helps = vec ! [
298300 ( vec![ UserEvent :: Cancel , UserEvent :: Close , UserEvent :: RefListToggle ] , "Close refs list" . into( ) ) ,
299- ( vec![ UserEvent :: NavigateDown ] , "Move down" . into( ) ) ,
300- ( vec![ UserEvent :: NavigateUp ] , "Move up" . into( ) ) ,
301+ ( vec![ UserEvent :: NavigateDown , UserEvent :: SelectDown ] , "Move down" . into( ) ) ,
302+ ( vec![ UserEvent :: NavigateUp , UserEvent :: SelectUp ] , "Move up" . into( ) ) ,
301303 ( vec![ UserEvent :: GoToTop ] , "Go to top" . into( ) ) ,
302304 ( vec![ UserEvent :: GoToBottom ] , "Go to bottom" . into( ) ) ,
303305 ( vec![ UserEvent :: NavigateRight ] , "Open node" . into( ) ) ,
@@ -316,6 +318,8 @@ fn build_lines(
316318 ( vec![ UserEvent :: HalfPageUp ] , "Scroll half page up" . into( ) ) ,
317319 ( vec![ UserEvent :: GoToTop ] , "Go to top" . into( ) ) ,
318320 ( vec![ UserEvent :: GoToBottom ] , "Go to bottom" . into( ) ) ,
321+ ( vec![ UserEvent :: SelectDown ] , "Select next commit" . into( ) ) ,
322+ ( vec![ UserEvent :: SelectUp ] , "Select previous commit" . into( ) ) ,
319323 ] ;
320324 user_command_helps. extend ( user_command_view_toggle_helps) ;
321325 let ( user_command_key_lines, user_command_value_lines) = build_block_lines ( "User Command:" , user_command_helps, color_theme, keybind) ;
0 commit comments