vte: show reversed question mark on SUB
When receiving SUB we now correctly write a reversed question mark into the buffer. We still cancel the ongoing escape sequence, this worked even without this patch. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
6b4fc364df
commit
b1e5d75220
@ -258,8 +258,7 @@ static void do_execute(struct kmscon_vte *vte, uint32_t ctrl)
|
||||
break;
|
||||
case 0x1a: /* SUB */
|
||||
/* Discard current escape sequence and show err-sym */
|
||||
/* TODO: show reversed question mark */
|
||||
kmscon_console_write(vte->con, '?', &vte->cattr);
|
||||
kmscon_console_write(vte->con, 0xbf, &vte->cattr);
|
||||
break;
|
||||
case 0x1b: /* ESC */
|
||||
/* Invokes an escape sequence */
|
||||
|
Loading…
x
Reference in New Issue
Block a user