X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Fdrv%2Fvterm_termbuf.c;h=e03302a1bf62aa6462007ca22cd3541a6b90912d;hb=a929736eddbc438cac503d64f999f7dc3772d7c2;hp=89511cc88a9b420f7105b919b50c4a7e22fa84d6;hpb=a260c1b26118b7a16015d50c74e6edcbcb09784f;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/drv/vterm_termbuf.c b/KernelLand/Kernel/drv/vterm_termbuf.c index 89511cc8..e03302a1 100644 --- a/KernelLand/Kernel/drv/vterm_termbuf.c +++ b/KernelLand/Kernel/drv/vterm_termbuf.c @@ -24,7 +24,7 @@ void VT_int_PutString(tVTerm *Term, const Uint8 *Buffer, Uint Count) int ret = VT_int_ParseEscape(Term, (const char*)&Buffer[i], Count-i); if( ret > 0 ) { - i += ret; + i += ret-1; continue; }