Skip to content

Commit 870776d

Browse files
committed
Allow selecting next exercise with enter key
1 parent b730882 commit 870776d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()>
8383
}
8484
}
8585
KeyCode::Char('r') => list_state.reset_selected()?,
86-
KeyCode::Char('c') => {
86+
KeyCode::Char('c') | KeyCode::Enter => {
8787
if list_state.selected_to_current_exercise()? {
8888
return Ok(());
8989
}

0 commit comments

Comments
 (0)