fish-shell/tests/pexpects
ridiculousfish 179073ce62 Clear the control-C cancel flag earlier, allowing event handlers to run
When the user presses control-C, fish marks a cancellation signal which
prevents fish script from running, allowing it to properly unwind.
Prior to this commit, the signal was cleared in the reader. However this
missed the case where a binding would set $fish_bind_mode which would
trigger event handlers: the event handlers would be skipped because of
the cancellation flag was still set. This is similar to #6937.

Let's clear the flag earlier, as soon as we it's set, in inputter_t.
Fixes #8125.
2021-07-11 18:04:44 -07:00
..
bind.py tests/bind: Skip on Github macOS 2021-05-23 19:46:04 +02:00
bind_mode_events.py Clear the control-C cancel flag earlier, allowing event handlers to run 2021-07-11 18:04:44 -07:00
cancel_event.py Reformat 2020-11-22 14:39:48 +01:00
commandline.py Don't enqueue a repaint in the middle of one 2020-09-11 19:23:26 +02:00
complete.py Reset the readline loop state when setting the buffer 2021-02-25 16:19:28 +01:00
disable_mouse.py Simplify event_queue_peeker_t 2021-04-17 16:43:27 -07:00
exit.py Reformat 2020-11-22 14:39:48 +01:00
exit_handlers.py Add a test that fish_exit handlers run on receipt of SIGHUP 2020-08-30 15:09:34 -07:00
exit_nohang.py tests: Increase how long exit_nohang tries 2021-04-14 18:55:11 +02:00
fg.py Restore terminal modes after running key bindings with external commands 2021-03-10 22:36:33 -08:00
fkr.py Tests: Yet another delay change 2020-11-11 19:20:55 +01:00
generic.py type: Add missing newline 2021-01-03 17:48:25 +01:00
histfile.py Another formatting run 2020-06-24 20:43:56 +02:00
history.py Make history search smartcase 2020-09-22 16:13:24 +02:00
isatty.py Reformat 2020-11-22 14:39:48 +01:00
job_summary.py Reformat 2020-11-22 14:39:48 +01:00
pipeline.py Restyle codebase 2020-12-06 15:39:54 +01:00
postexec.py Reformat 2020-11-22 14:39:48 +01:00
private_mode.py Allow fish_private_mode to change at runtime 2021-01-02 22:01:47 -08:00
read.py Port read tests to expect 2020-06-13 15:21:40 +02:00
set_color.py Fix crash with set_color --print-colors --background normal 2021-03-09 13:46:08 +01:00
sigint.py Correctly propagate signals from cancelled jobs into parse_execution_context 2020-08-13 15:30:15 -07:00
signals.py tests: Add yet another sleep 2020-09-27 09:22:45 +02:00
terminal.py Update termsize before a sigwinch handler 2021-04-14 17:27:53 +02:00
tty_ownership.py Reformat 2020-11-22 14:39:48 +01:00
undo.py Add simple pexpect test for undo 2021-01-07 23:53:31 +01:00
wait.py tests: Increase another timeout 2020-11-06 17:56:38 +01:00