1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Make it more clear that only one char is expected

This commit is contained in:
mo8it 2024-05-14 01:23:58 +02:00
parent 0ae66d1860
commit 96a44f3dcf

@ -96,18 +96,18 @@ impl<'a> WatchState<'a> {
self.writer.write_all(b"\n")?; self.writer.write_all(b"\n")?;
if self.manual_run { if self.manual_run {
write!(self.writer, "{}un/", 'r'.bold())?; write!(self.writer, "{}:run / ", 'r'.bold())?;
} }
if self.done_status != DoneStatus::Pending { if self.done_status != DoneStatus::Pending {
write!(self.writer, "{}ext/", 'n'.bold())?; write!(self.writer, "{}:next / ", 'n'.bold())?;
} }
if !self.show_hint { if !self.show_hint {
write!(self.writer, "{}int/", 'h'.bold())?; write!(self.writer, "{}:hint / ", 'h'.bold())?;
} }
write!(self.writer, "{}ist/{}uit? ", 'l'.bold(), 'q'.bold())?; write!(self.writer, "{}:list / {}:quit ? ", 'l'.bold(), 'q'.bold())?;
self.writer.flush() self.writer.flush()
} }