mirror of
https://github.com/mikedilger/chorus.git
synced 2026-08-01 07:21:39 +00:00
fix chorus_moderate input
This commit is contained in:
parent
f5043cf50d
commit
c96a9a83b1
@ -96,6 +96,7 @@ fn main() -> Result<(), Error> {
|
||||
loop {
|
||||
print!(">> ");
|
||||
let _ = stdout.flush();
|
||||
input.clear();
|
||||
stdin.read_line(&mut input)?;
|
||||
if input.is_empty() {
|
||||
continue;
|
||||
@ -123,7 +124,10 @@ fn main() -> Result<(), Error> {
|
||||
println!("Event banned.");
|
||||
break;
|
||||
}
|
||||
b's' => break,
|
||||
b's' => {
|
||||
println!("Skipped.");
|
||||
break;
|
||||
}
|
||||
b'q' => break 'eventloop,
|
||||
_ => {
|
||||
println!("?");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user