vte: implement NEL

NEL is a shortcut for newline independent of the line-feed/new-line mode.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-05-28 17:58:46 +02:00
parent 1d6eb0dd72
commit 4b656aaa11

View File

@ -273,7 +273,7 @@ static void do_execute(struct kmscon_vte *vte, uint32_t ctrl)
break;
case 0x85: /* NEL */
/* CR/NL with scroll-up if needed */
/* TODO */
kmscon_console_newline(vte->con);
break;
case 0x88: /* HTS */
/* Set tab stop at current position */
@ -353,7 +353,7 @@ static void do_esc(struct kmscon_vte *vte, uint32_t data)
break;
case 'E': /* NEL */
/* CR/NL with scroll-up if needed */
/* TODO */
kmscon_console_newline(vte->con);
break;
case 'H': /* HTS */
/* Set tab stop at current position */