9
0
Fork 0
Commit Graph

17 Commits

Author SHA1 Message Date
Sascha Hauer 7e66707c76 input: Add BB_ prefix to KEY_ defines
Our KEY_ defines conflict with the standard Linux KEY_ defines, so
add a BB_ prefix to them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-17 08:23:37 +01:00
Sascha Hauer 6058a2273c readline: remove unused variable
'rc' is never set to anything else than 0, so drop it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-11-12 14:45:03 +01:00
Antony Pavlov ff6b691a8c readline: fix the 'new blank line at EOF' typo
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-29 10:02:06 +01:00
Antony Pavlov ad439b75a2 readline: add ctrl-w handling (cut-the-last-word)
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-29 10:02:06 +01:00
Antony Pavlov db494137a8 readline: move backspace key handling to the DO_BACKSPACE macro
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-29 10:02:06 +01:00
Antony Pavlov d93a20734d lib/readline.c: fix unused-but-set-variable gcc warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-07-04 08:59:39 +02:00
Krzysztof Halasa 1b6a3e3634 Silence few warnings.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-21 09:02:40 +01:00
Sascha Hauer eff51304a7 readline: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-21 22:21:22 +02:00
Sascha Hauer 73108301d4 Remove unnecessary casts in key defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:54 +01:00
Sascha Hauer 82875bfd52 readline: Allow only ascii and printable characters
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-29 08:50:42 +02:00
Sascha Hauer 2209ae02ba readline: Fix wrong screen reprinting. Try:
abcde<BACKSPACE><HOME><DEL>
2008-03-02 17:24:05 +01:00
Sascha Hauer 23d1cead89 readline: Fix a bug when tab completion is used in the middle
of the line.
2008-03-02 17:23:10 +01:00
Sascha Hauer df31bb46be implement TAB completion 2008-03-01 21:08:14 +01:00
sascha 10bdc84297 implement delete key in readline 2007-10-16 23:08:37 +02:00
Sascha Hauer b3dc734018 declare lots of functions static 2007-09-28 10:07:26 +02:00
Sascha Hauer 0dd68e795e - putc is now putchar for better standard conformity
- make printf return int
2007-09-21 09:09:06 +02:00
Sascha Hauer 4b07af6730 svn_rev_643
structure cleanup
2007-07-05 18:02:13 +02:00