git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - Added ipcpipe to build
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
drv
/
vterm_termbuf.c
diff --git
a/KernelLand/Kernel/drv/vterm_termbuf.c
b/KernelLand/Kernel/drv/vterm_termbuf.c
index
525f1a4
..
89511cc
100644
(file)
--- a/
KernelLand/Kernel/drv/vterm_termbuf.c
+++ b/
KernelLand/Kernel/drv/vterm_termbuf.c
@@
-21,14
+21,11
@@
void VT_int_PutString(tVTerm *Term, const Uint8 *Buffer, Uint Count)
for( i = 0; i < Count; i++ )
{
// Handle escape sequences
for( i = 0; i < Count; i++ )
{
// Handle escape sequences
- if( Buffer[i] == 0x1B && Count - i > 1 )
+ int ret = VT_int_ParseEscape(Term, (const char*)&Buffer[i], Count-i);
+ if( ret > 0 )
{
{
- int ret = VT_int_ParseEscape(Term, (const char*)&Buffer[i+1], Count-(i+1));
- if( ret > 0 )
- {
- i += ret;
- continue;
- }
+ i += ret;
+ continue;
}
// Fast check for non UTF-8
}
// Fast check for non UTF-8
UCC
git Repository :: git.ucc.asn.au