tsm: vte: ignore DEC SET/RESET 12 mode
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 09:15:40 +0000 (10:15 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 2 Dec 2012 09:15:40 +0000 (10:15 +0100)
This mode is used to start/stop blinking cursors. As vim uses this
heavily, we should simply ignore it to avoid printing useless debug
messages.

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

index 9315281..892bde9 100644 (file)
@@ -1370,6 +1370,9 @@ static void csi_mode(struct tsm_vte *vte, bool set)
                case 8: /* DECARM */
                        set_reset_flag(vte, set, FLAG_AUTO_REPEAT_MODE);
                        continue;
+               case 12: /* blinking cursor */
+                       /* TODO: implement */
+                       continue;
                case 18: /* DECPFF */
                        /* If set, a form feed (FF) is sent to the printer after
                         * every screen that is printed. We don't have printers