mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-03 16:53:30 +02:00
Make the list mode part of the watch mode
This commit is contained in:
+3
-2
@@ -36,10 +36,11 @@ impl<'a> WatchState<'a> {
|
||||
let writer = io::stdout().lock();
|
||||
|
||||
let prompt = format!(
|
||||
"\n\n{}int/{}lear/{}uit? ",
|
||||
"\n\n{}int/{}lear/{}ist/{}uit? ",
|
||||
"h".bold(),
|
||||
"c".bold(),
|
||||
"q".bold()
|
||||
"l".bold(),
|
||||
"q".bold(),
|
||||
)
|
||||
.into_bytes();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user