fish-shell/tests/pexpects
ridiculousfish 1bdd629326 Prevent signals from tearing multi-char bindings
Say the user has a multi-char binding (typically an escape sequence), and a
signal arrives partway through the binding. The signal has an event handler
which enques some readline event, for example, `repaint`. Prior to this
change, the readline event would cause the multi-char binding to fail. This
would cause bits of the escape sequence to be printed to the screen.

Fix this by noticing when a sequence was "interrupted" by a non-char event,
and then rotating a sequence of such interruptions to the front of the
queue.

Fixes #8628
2022-02-05 13:18:36 -08:00
..
bind_mode_events.py Comment why certain tests are disabled under TSAN 2021-12-28 21:35:30 -08:00
bind.py Defer escape bindings as well 2021-11-10 20:40:21 +01:00
cancel_event.py Comment why certain tests are disabled under TSAN 2021-12-28 21:35:30 -08:00
commandline.py Update commandline state before completion 2021-07-27 19:03:35 +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_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
exit.py Reformat 2020-11-22 14:39:48 +01:00
fg.py Actually fix fg.py. 2021-11-03 23:33:02 -07:00
fkr.py Make fish_key_reader's output simpler (#8467) 2021-11-22 17:22:22 +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 Adds sub-command clear-session to history command. 2021-10-17 19:27:46 -07:00
isatty.py Reformat 2020-11-22 14:39:48 +01:00
job_summary.py Correct the order of pkill arguments 2021-09-04 13:34:52 -07:00
pipeline.py Improve error for redirections to invalid paths 2021-11-20 17:44:05 +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 Stop ignoring initial command in read -c 2022-01-16 13:36:48 -08: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 Correct the order of pkill arguments 2021-09-04 13:34:52 -07:00
terminal.py Update termsize before a sigwinch handler 2021-04-14 17:27:53 +02:00
torn_escapes.py Prevent signals from tearing multi-char bindings 2022-02-05 13:18:36 -08: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