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
..
2021-11-10 20:40:21 +01:00
2021-04-17 16:43:27 -07:00
2020-11-22 14:39:48 +01:00
2021-11-03 23:33:02 -07:00
2021-01-03 17:48:25 +01:00
2020-06-24 20:43:56 +02:00
2020-11-22 14:39:48 +01:00
2020-11-22 14:39:48 +01:00
2020-11-22 14:39:48 +01:00
2021-01-07 23:53:31 +01:00
2020-11-06 17:56:38 +01:00