Skip to content

Commit

Permalink
Update crates/turborepo-ui/src/tui/input.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Olszewski <[email protected]>
  • Loading branch information
anthonyshew and chris-olszewski authored Nov 21, 2024
1 parent 80cb060 commit 75a4e91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/turborepo-ui/src/tui/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ fn translate_key_event(options: InputOptions, key_event: KeyEvent) -> Option<Eve
}
KeyCode::Up => Some(Event::Up),
KeyCode::Down => Some(Event::Down),
KeyCode::Enter => Some(Event::EnterInteractive),
KeyCode::Char('i') => Some(Event::EnterInteractive),
KeyCode::Enter | KeyCode::Char('i') => Some(Event::EnterInteractive),
_ => None,
}
}
Expand Down

0 comments on commit 75a4e91

Please sign in to comment.