mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-18 00:31:15 -03:00
make the read builtin respect ctrl-C
This commit is contained in:
@@ -2399,6 +2399,7 @@ static int builtin_read(parser_t &parser, wchar_t **argv)
|
||||
}
|
||||
/* No autosuggestions in builtin_read */
|
||||
reader_set_allow_autosuggesting(false);
|
||||
reader_set_interruptible(true);
|
||||
|
||||
reader_set_buffer(commandline, wcslen(commandline));
|
||||
proc_push_interactive(1);
|
||||
|
||||
Reference in New Issue
Block a user