Vincent Demeester
8813b32a1c
Fix escape-keys by preserving input if invalid
...
Currently, using a custom detach key with an invalid sequence, eats a
part of the sequence, making it weird and difficult to enter some key
sequence.
This fixes by keeping the input read when trying to see if it's the key
sequence or not, and "writing" then is the key sequence is not the right
one, preserving the initial input.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: 0fb6190243d6101f96283e487cd4911142a05483
Component: engine
2016-05-24 17:14:48 +02:00
..
2016-03-21 10:56:09 -07:00
2016-03-23 14:42:52 -07:00
2016-03-21 10:56:42 -07:00
2016-03-29 07:52:18 -07:00
2016-04-04 15:35:55 +08:00
2016-04-25 20:12:36 +02:00
2016-04-14 17:57:45 -07:00
2016-04-21 07:53:49 -07:00
2016-01-25 11:45:20 -08:00
2016-02-24 11:00:47 -08:00
2015-11-05 17:09:58 -05:00
2016-02-25 14:27:22 +01:00
2016-01-29 23:39:07 +08:00
2016-03-30 09:23:15 +00:00
2016-01-26 20:23:40 -08:00
2015-11-23 22:03:14 -05:00
2016-03-02 10:26:15 -08:00
2016-04-15 12:48:01 +02:00
2016-02-03 20:30:06 -08:00
2016-05-04 20:46:41 +02:00
2016-05-04 20:46:41 +02:00
2016-04-19 16:56:54 +02:00
2016-02-03 10:43:01 -08:00
2016-01-06 19:48:59 -05:00
2016-02-28 13:48:15 +01:00
2016-01-29 23:39:07 +08:00
2016-02-11 07:31:49 -08:00
2016-05-04 18:45:22 +02:00
2016-05-22 01:00:57 +02:00
2016-02-18 16:10:29 -05:00
2016-02-28 13:48:15 +01:00
2016-02-29 19:28:37 +08:00
2016-02-25 14:12:17 -05:00
2015-10-26 10:22:28 +08:00
2016-01-08 13:49:43 -08:00
2015-12-13 18:04:12 +02:00
2016-02-18 14:44:13 -08:00
2015-10-26 10:22:28 +08:00
2016-04-06 12:40:20 -04:00
2016-05-09 15:17:10 -07:00
2016-05-23 15:57:23 -07:00
2016-03-24 11:10:41 +01:00
2016-04-27 01:11:03 +00:00
2016-04-14 16:22:16 -07:00
2016-03-23 19:54:32 -07:00
2016-03-08 10:54:18 +08:00
2016-02-09 09:31:09 +02:00
2015-10-21 08:57:20 -04:00
2016-04-20 05:59:19 -07:00
2016-04-29 09:37:02 -04:00
2016-04-19 16:46:59 -07:00
2016-03-02 20:37:47 +00:00
2016-01-14 08:17:40 +00:00
2016-02-16 11:19:23 -08:00
2016-04-25 18:44:34 +08:00
2016-01-29 23:39:07 +08:00
2016-03-22 13:49:30 -07:00
2016-02-24 13:33:25 -08:00
2016-01-29 23:39:07 +08:00
2015-10-18 09:00:08 +08:00
2016-03-16 09:00:39 +01:00
2016-03-29 10:04:59 -07:00
2016-03-21 11:05:58 -04:00
2016-05-06 20:42:20 -04:00
2016-01-29 23:39:07 +08:00
2016-03-23 09:39:24 -04:00
2016-04-29 16:22:26 +02:00
2016-05-10 11:28:00 -07:00
2016-04-14 16:22:16 -07:00
2016-02-11 22:13:47 +00:00
2016-02-25 14:12:17 -05:00
2016-05-17 12:23:37 +02:00
2016-05-19 17:52:42 -05:00
2016-05-02 18:14:13 -07:00
2016-03-21 10:56:49 -07:00
2016-05-07 14:25:28 -07:00
2016-03-21 14:31:47 -07:00
2016-01-29 23:39:07 +08:00
2016-04-26 19:22:48 +08:00
2016-02-03 10:56:19 -08:00
2016-04-11 15:36:31 -07:00
2016-05-19 19:00:40 +02:00
2016-05-24 17:14:48 +02:00
2016-04-06 21:58:47 -07:00
2016-04-12 22:45:42 -04:00
2016-05-20 13:41:28 +02:00
2016-02-02 19:56:31 -08:00
2016-03-25 10:02:52 -04:00
2016-04-13 16:36:34 -04:00
2016-04-10 15:39:28 +08:00
2016-04-11 15:36:31 -07:00
2016-03-14 12:49:24 +01:00
2016-04-01 10:32:46 +08:00
2016-03-14 17:09:25 +02:00
2016-03-01 11:52:32 -08:00
2015-11-14 03:16:45 +00:00
2016-03-25 01:11:17 +00:00
2016-03-25 10:02:52 -04:00
2016-03-24 16:19:59 -07:00
2016-04-12 10:07:12 +02:00
2016-05-08 05:51:59 -07:00
2016-04-14 16:22:16 -07:00
2016-03-02 14:22:51 -08:00
2016-03-02 14:22:51 -08:00
2016-01-11 20:16:13 +01:00
2016-03-16 09:00:39 +01:00
2016-03-08 07:55:01 -08:00
2016-04-07 14:46:32 -07:00
2015-12-07 20:14:52 -05:00
2015-12-07 20:14:52 -05:00
2016-01-27 08:48:08 -08:00
2016-03-11 14:48:52 -08:00
2016-05-07 14:25:28 -07:00
2016-02-03 15:16:00 +01:00