* drv/vterm_termbuf.c
* - Virtual Terminal - Terminal buffer manipulation
*/
-#define DEBUG 0
+#define DEBUG 1
#include "vterm.h"
extern int Term_HandleVT100(tVTerm *Term, int Len, const char *Buf);
int esc_len = Term_HandleVT100(Term, Count - ofs, (const void*)(Buffer + ofs));
if( esc_len < 0 ) {
esc_len = -esc_len;
- LOG("%i '%*C'", esc_len, esc_len, Buffer+ofs);
+ //LOG("%i '%*C'", esc_len, esc_len, Buffer+ofs);
+ LOG("%i '%.*s'", esc_len, esc_len, Buffer+ofs);
VT_int_PutRawString(Term, Buffer + ofs, esc_len);
//Debug("Raw string '%.*s'", esc_len, Buffer+ofs);
}
csaLevelColours[Entry->Level],
Entry->Time
);
- LogF("%s [%-8s] %i - %*C",
+ LogF("%s [%-8s] %i - %.*s",
csaLevelCodes[Entry->Level],
Entry->Ident,
Threads_GetTID(),