mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
parent
af22d6b732
commit
dd1e526017
|
@ -1046,8 +1046,7 @@ static void test_1_cancellation(const wchar_t *src) {
|
|||
static void test_cancellation() {
|
||||
say(L"Testing Ctrl-C cancellation. If this hangs, that's a bug!");
|
||||
|
||||
// Enable fish's signal handling here. We need to make this interactive for fish to install its
|
||||
// signal handlers.
|
||||
// Enable fish's signal handling here.
|
||||
parser_t &parser = parser_t::principal_parser();
|
||||
signal_set_handlers(true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user