We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f11cb7 commit 451d5f7Copy full SHA for 451d5f7
1 file changed
src/tui.rs
@@ -255,11 +255,13 @@ async fn run_app<B: Backend>(terminal: &mut Terminal<B>) -> Result<()> {
255
app.back_to_menu();
256
}
257
258
- KeyCode::Enter => if let AppView::Menu = app.current_view {
259
- if app.execute_menu_action().await? {
260
- break;
+ KeyCode::Enter => {
+ if let AppView::Menu = app.current_view {
+ if app.execute_menu_action().await? {
261
+ break;
262
+ }
263
- },
264
265
KeyCode::Up => match app.current_view {
266
AppView::Menu => app.previous_menu_item(),
267
_ => app.previous_item(),
0 commit comments