vt: change the new cursor on/off codes
authorAlan Cox <alan@linux.intel.com>
Fri, 11 May 2018 14:47:24 +0000 (15:47 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 11 May 2018 14:47:24 +0000 (15:47 +0100)
We use e and f, as like many other other extended codes we use we try and follow
the extended vt52 convention of the Atari ST.

Kernel/vt.c

index cbfa7ca..4540436 100644 (file)
@@ -187,11 +187,11 @@ static int escout(unsigned char c)
                clear_across(cursory, cursorx, VT_RIGHT - cursorx + 1);
                return 0;
        }
-       if (c == '_') {
+       if (c == 'e') {
                cursorhide = 0;
                return 0;
        }
-       if (c == ' ') {
+       if (c == 'f') {
                cursorhide = 1;
                cursor_disable();
                return 0;