fix: small quit fix
This commit is contained in:
@@ -71,7 +71,7 @@ pub fn handle_user_input(app: &mut App) -> io::Result<()> {
|
|||||||
_ => {
|
_ => {
|
||||||
// Quit
|
// Quit
|
||||||
if c == 'q' || c == 'x' {
|
if c == 'q' || c == 'x' {
|
||||||
return Err(io::Error::last_os_error()); // FIXME: this is not right
|
app.exit = true;
|
||||||
}
|
}
|
||||||
// State change
|
// State change
|
||||||
if c == 'f' || c == '/' {
|
if c == 'f' || c == '/' {
|
||||||
|
|||||||
Reference in New Issue
Block a user