]> cloudbase.mooo.com Git - z180-stamp.git/commitdiff
Add END key to cread_line() hexrel-6.5
authorLeo C <erbl259-lmu@yahoo.de>
Fri, 4 Sep 2015 16:53:52 +0000 (18:53 +0200)
committerLeo C <erbl259-lmu@yahoo.de>
Fri, 4 Sep 2015 16:53:52 +0000 (18:53 +0200)
avr/cli_readline.c

index 49ceee7a1a57c91e582ef238a4ae922ca87dfe76..e8f39aefba06f6a327e77ca0c35fd410300ee88c 100644 (file)
@@ -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;