Kernel/VTerm - Added stub support for an escape code vim uses
authorJohn Hodge <[email protected]>
Tue, 2 Apr 2013 07:15:53 +0000 (15:15 +0800)
committerJohn Hodge <[email protected]>
Tue, 2 Apr 2013 07:15:53 +0000 (15:15 +0800)
KernelLand/Kernel/drv/vterm_vt100.c

index 5166633..1f34479 100644 (file)
@@ -158,7 +158,23 @@ void VT_int_ParseEscape_StandardLarge(tVTerm *Term, char CmdChar, int argc, int
                        Term->ViewPos += Term->TextWidth*tmp;
                }
                break;
-       
+       // Set Mode (?)
+       case 'h':
+               if( argc >= 1 )
+               {
+                       switch(args[0])
+                       {
+                       case 2: // Keyboard action mode
+                       case 4: // Insert mode
+                       case 12:        // Send/receive
+                       case 20:        // Automatic newline
+                               break;
+                       default:        // ?
+                               break;
+                       }
+               }
+               break;
+               
        // Set Font flags
        case 'm':
                for( ; argc--; )

UCC git Repository :: git.ucc.asn.au