[PATCH 0/5] keyboard input: stop generating garbage input from unknown ESC sequences

I got tired of seeing garbage when I press function key MC doesn't know.
This changeset attempts to eradicate this problem.

Denys Vlasenko (5):
  keyboard input: simplify code, no logic changes
  keyboard input: add commented-out debugging logging mechanism.
  keyboard input: remove unreachable code
  keyboard input: treat only ESC<char><end> or <ESC><char><ESC> as
  keyboard input: when an unknown sequence is seen, purge all buffered

 lib/tty/key.c |  204 ++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 136 insertions(+), 68 deletions(-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]