readline: add ctrl-u (unix-line-discard)
PATCH 1/1 readline: add ctrl-u (unix-line-discard)
Signed-off-by Robert Karszniewicz <[email protected]>
--- lib/readline.c | 1 + 1 file changed, 1 insertion(+)
lib/readline.c +1 -0
@@ -290,6 +290,7 @@ int readline(const char *prompt, char *buf, int len) insert = !insert;break ;case BB_KEY_ERASE_LINE : +case CTL_CH ('u' ):BEGINNING_OF_LINE ();ERASE_TO_EOL ();break ;
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 4 lines · Robert Karszniewicz
Signed-off-by Robert Karszniewicz <[email protected]>--- lib/readline.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
Quoted 22 lines
lib/readline.c +1
-0@@ -290,6 +290,7 @@ int readline(const char *prompt, char *buf, int len) insert = !insert;break ;case BB_KEY_ERASE_LINE : +case CTL_CH ('u' ):BEGINNING_OF_LINE ();ERASE_TO_EOL ();break ;Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox