From ed7d7fd35e5cf408fd9cf7e900308b4ce318be7c Mon Sep 17 00:00:00 2001 From: Leo C Date: Fri, 4 Sep 2015 18:53:52 +0200 Subject: [PATCH] Add END key to cread_line() --- avr/cli_readline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/avr/cli_readline.c b/avr/cli_readline.c index 49ceee7..e8f39ae 100644 --- a/avr/cli_readline.c +++ b/avr/cli_readline.c @@ -473,6 +473,7 @@ static int cread_line(const FLASH char *const prompt, char *buf, uint_fast8_t *l case CTL_CH('k'): /* kill-line */ ERASE_TO_EOL(); break; + case KEY_END: case CTL_CH('e'): REFRESH_TO_EOL(); break; -- 2.39.2