mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-05-15 09:48:45 +00:00
Merge main into senekor/soqukxyvzplr
This commit is contained in:
commit
4c4dd20be3
@ -83,7 +83,7 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
KeyCode::Char('r') => list_state.reset_selected()?,
|
KeyCode::Char('r') => list_state.reset_selected()?,
|
||||||
KeyCode::Char('c') => {
|
KeyCode::Char('c') | KeyCode::Enter => {
|
||||||
if list_state.selected_to_current_exercise()? {
|
if list_state.selected_to_current_exercise()? {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|||||||
@ -245,7 +245,7 @@ impl<'a> ListState<'a> {
|
|||||||
hotkey(&mut writer, b"g")?;
|
hotkey(&mut writer, b"g")?;
|
||||||
writer.write_ascii(b" end/")?;
|
writer.write_ascii(b" end/")?;
|
||||||
hotkey(&mut writer, b"G")?;
|
hotkey(&mut writer, b"G")?;
|
||||||
writer.write_ascii(b" | ")?;
|
writer.write_str(" | ↩️/")?;
|
||||||
hotkey(&mut writer, b"c")?;
|
hotkey(&mut writer, b"c")?;
|
||||||
writer.write_ascii(b"ontinue at | ")?;
|
writer.write_ascii(b"ontinue at | ")?;
|
||||||
hotkey(&mut writer, b"r")?;
|
hotkey(&mut writer, b"r")?;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user