1 | From: Denys Vlasenko <vda.linux@googlemail.com> |
---|
2 | Date: Mon, 22 Oct 2012 16:49:40 +0200 |
---|
3 | Subject: [PATCH 0/5] keyboard input: stop generating garbage input from unknown ESC sequences |
---|
4 | |
---|
5 | I got tired of seeing garbage when I press function key MC doesn't know. |
---|
6 | This changeset attempts to eradicate this problem. |
---|
7 | |
---|
8 | Denys Vlasenko (5): |
---|
9 | keyboard input: simplify code, no logic changes |
---|
10 | keyboard input: add commented-out debugging logging mechanism. |
---|
11 | keyboard input: remove unreachable code |
---|
12 | keyboard input: treat only ESC<char><end> or <ESC><char><ESC> as |
---|
13 | valid |
---|
14 | keyboard input: when an unknown sequence is seen, purge all buffered |
---|
15 | input |
---|
16 | |
---|
17 | lib/tty/key.c | 204 ++++++++++++++++++++++++++++++++++++++------------------- |
---|
18 | 1 files changed, 136 insertions(+), 68 deletions(-) |
---|
19 | |
---|
20 | -- |
---|
21 | 1.7.7.6 |
---|
22 | |
---|