Fabian Homborg 93d40f9143 [input] Only timeout if the last character was escape
There really is no need to

- Timeout just because the _first_ character was a control character

- Timeout because of any control character other than escape

The reason to timeout because the '\e' sequence can appear by itself (signifying
pressing the escape key) and still make
sense - e.g. vi-mode has it bound to a rather important function!

But a \c can't appear by itself, so we can just block.

This allows binding sequences like \cx\ce and inputting them at a
leisurely pace rather than the frantic escape_timeout one.

It should also improve sequences that _include_ escape somewhere else.

E.g. something like a\eb ("a, then alt+b") should now time out for the "\eb" part,
allowing users to bind a\e ("a, then escape") to something else. Why you'd want to do
that, I have no idea. But it's more consistent, and that's nice!
2018-05-29 18:40:29 +02:00
..
2017-07-12 22:38:24 -07:00
2018-01-30 12:36:50 -08:00
2018-02-12 10:49:22 -08:00
2017-11-16 10:48:21 -08:00
2018-02-18 19:12:45 -08:00
2017-02-14 18:48:27 -08:00
2018-05-28 12:10:40 +02:00
2018-05-12 11:23:43 -05:00
2018-05-27 15:46:30 -07:00
2018-05-12 11:23:43 -05:00
2018-04-01 17:59:42 -07:00
2018-05-27 15:45:30 -07:00
2018-05-06 11:20:15 -07:00
2018-03-31 17:06:13 -07:00
2018-05-06 11:20:14 -07:00
2018-05-06 11:20:15 -07:00
2018-03-05 12:20:56 -08:00
2017-06-16 21:01:56 -07:00
2017-02-11 21:30:38 -08:00
2016-05-29 22:24:29 -07:00
2018-04-01 16:10:59 -07:00
2018-02-18 19:12:45 -08:00
2017-02-14 18:48:27 -08:00
2017-05-01 22:05:35 -07:00
2018-05-06 11:20:15 -07:00
2018-02-25 21:29:24 +01:00
2018-02-18 20:29:28 -08:00
2017-09-24 13:43:50 -05:00
2017-01-24 15:24:13 -08:00
2018-03-01 13:09:35 +01:00
2018-03-01 13:09:35 +01:00
2017-02-14 18:48:27 -08:00
2017-02-14 18:48:27 -08:00
2017-06-17 22:51:25 -07:00
2018-05-06 11:20:15 -07:00
2018-05-06 11:20:15 -07:00
2017-10-11 00:08:26 -07:00
2017-10-11 00:08:26 -07:00