Skip to content

Commit 755f14c

Browse files
authored
fix: correct TUI vim binds direction (#9529)
### Description I did the incorrect directions for up/down in #9508. This fixes it.
1 parent 95129e3 commit 755f14c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/turborepo-ui/src/tui/input.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ fn translate_key_event(options: InputOptions, key_event: KeyEvent) -> Option<Eve
112112
KeyCode::Char('n') if key_event.modifiers == KeyModifiers::CONTROL => {
113113
Some(Event::ScrollDown)
114114
}
115-
KeyCode::Up | KeyCode::Char('j') => Some(Event::Up),
116-
KeyCode::Down | KeyCode::Char('k') => Some(Event::Down),
115+
KeyCode::Up | KeyCode::Char('k') => Some(Event::Up),
116+
KeyCode::Down | KeyCode::Char('j') => Some(Event::Down),
117117
KeyCode::Enter | KeyCode::Char('i') => Some(Event::EnterInteractive),
118118
_ => None,
119119
}

0 commit comments

Comments
 (0)