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