aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2013-02-05 23:16:18 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2013-02-05 23:16:18 +0100
commit9a89da3b3322887b976423ef283343e18d09ab6a (patch)
treee1e01e5b70d76657a101b691bf0cab0aea9eabff /builtin.cpp
parente8da9999f61c7133b7387b9311068f432cbc8c47 (diff)
parent3f5c02bf926b238512f7275f3344944daf416229 (diff)
merge branch 'bug-537' and branch 'bug-read-ctrlC'. This should fix both #537 and #516
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.cpp b/builtin.cpp
index 646db2b0..e8254533 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -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_exit_on_interrupt(true);
reader_set_buffer(commandline, wcslen(commandline));
proc_push_interactive(1);