From d2e4dc958182e363debe68c1b81ef9bf90540bf7 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 22 Sep 2009 11:24:22 +0800 Subject: [PATCH] Debug in vterm --- Kernel/drv/vterm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/drv/vterm.c b/Kernel/drv/vterm.c index 05c3ab14..bd50cd95 100644 --- a/Kernel/drv/vterm.c +++ b/Kernel/drv/vterm.c @@ -240,6 +240,7 @@ Uint64 VT_Read(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer) while(term->InputRead == term->InputWrite) Proc_Yield(); while(term->InputRead != term->InputWrite) { + LOG("WriteUTF8(%p, 0x%x)", Buffer+pos, term->InputBuffer[term->InputRead]); pos += WriteUTF8(Buffer+pos, term->InputBuffer[term->InputRead]); term->InputRead ++; } -- 2.20.1