From: John Hodge Date: Tue, 2 Apr 2013 07:15:53 +0000 (+0800) Subject: Kernel/VTerm - Added stub support for an escape code vim uses X-Git-Tag: rel0.15~522 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a929736eddbc438cac503d64f999f7dc3772d7c2;p=tpg%2Facess2.git Kernel/VTerm - Added stub support for an escape code vim uses --- diff --git a/KernelLand/Kernel/drv/vterm_vt100.c b/KernelLand/Kernel/drv/vterm_vt100.c index 51666331..1f344794 100644 --- a/KernelLand/Kernel/drv/vterm_vt100.c +++ b/KernelLand/Kernel/drv/vterm_vt100.c @@ -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--; )