mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
tweak reader interrupt behavior
This commit is contained in:
@@ -660,6 +660,9 @@ int reader_reading_interrupted()
|
||||
{
|
||||
reader_exit(1, 0);
|
||||
parser_t::skip_all_blocks();
|
||||
// We handled the interrupt ourselves, our caller doesn't need to
|
||||
// handle it.
|
||||
return 0;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user