mirror of
https://github.com/tiffany352/rink-rs
synced 2024-09-20 06:01:59 +00:00
Fixed CTRL+C behaviour (#95)
This commit is contained in:
parent
8d73153565
commit
f7399b1dfd
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ pub fn interactive(config: &Config) -> Result<()> {
|
||||||
};
|
};
|
||||||
println!();
|
println!();
|
||||||
}
|
}
|
||||||
Err(ReadlineError::Eof) | Err(ReadlineError::Interrupted) => {
|
Err(ReadlineError::Interrupted) => {}
|
||||||
|
Err(ReadlineError::Eof) => {
|
||||||
save_history(&mut rl);
|
save_history(&mut rl);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue