vte: explicitely ignore DEL
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 28 May 2012 15:51:51 +0000 (17:51 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 28 May 2012 15:51:51 +0000 (17:51 +0200)
Add dummy to do_execute() which explicitely ignores the DEL input.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/vte.c

index 643dc1b..096b5d9 100644 (file)
--- a/src/vte.c
+++ b/src/vte.c
@@ -264,6 +264,9 @@ static void do_execute(struct kmscon_vte *vte, uint32_t ctrl)
                        /* Invokes an escape sequence */
                        /* nothing to do here */
                        break;
+               case 0x1f: /* DEL */
+                       /* Ignored */
+                       break;
                case 0x84: /* IND */
                        /* Move down one row, perform scroll-up if needed */
                        /* TODO */