From: Leo C Date: Fri, 4 Sep 2015 16:53:52 +0000 (+0200) Subject: Add END key to cread_line() X-Git-Tag: hexrel-6.5 X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/commitdiff_plain/ed7d7fd35e5cf408fd9cf7e900308b4ce318be7c Add END key to cread_line() --- 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;