From 6bec5a862e56069c89dad24a4d5ab0906a35a99b Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Fri, 29 Nov 2024 12:58:22 -0700 Subject: [PATCH] chore(tui): move h bind to correct section --- crates/turborepo-ui/src/tui/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turborepo-ui/src/tui/input.rs b/crates/turborepo-ui/src/tui/input.rs index 9e4b84bdab496..c6f3d76a6acbb 100644 --- a/crates/turborepo-ui/src/tui/input.rs +++ b/crates/turborepo-ui/src/tui/input.rs @@ -85,7 +85,6 @@ fn translate_key_event(options: InputOptions, key_event: KeyEvent) -> Option Some(Event::ToggleSidebar), KeyCode::Enter if matches!(options.focus, LayoutSections::Search { .. }) => { Some(Event::SearchExit { restore_scroll: false, @@ -108,6 +107,7 @@ fn translate_key_event(options: InputOptions, key_event: KeyEvent) -> Option Some(Event::ToggleSidebar), KeyCode::Char('p') if key_event.modifiers == KeyModifiers::CONTROL => Some(Event::ScrollUp), KeyCode::Char('n') if key_event.modifiers == KeyModifiers::CONTROL => { Some(Event::ScrollDown)