Skip to content

Commit 451d5f7

Browse files
committed
format-code
1 parent 7f11cb7 commit 451d5f7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/tui.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,13 @@ async fn run_app<B: Backend>(terminal: &mut Terminal<B>) -> Result<()> {
255255
app.back_to_menu();
256256
}
257257
}
258-
KeyCode::Enter => if let AppView::Menu = app.current_view {
259-
if app.execute_menu_action().await? {
260-
break;
258+
KeyCode::Enter => {
259+
if let AppView::Menu = app.current_view {
260+
if app.execute_menu_action().await? {
261+
break;
262+
}
261263
}
262-
},
264+
}
263265
KeyCode::Up => match app.current_view {
264266
AppView::Menu => app.previous_menu_item(),
265267
_ => app.previous_item(),

0 commit comments

Comments
 (0)