Usermode/GUI Terminal - Fixed scroll behavior and early frees
[tpg/acess2.git] / Usermode / Applications / gui_terminal_src / main.c
index 822f28b..b8f149a 100644 (file)
@@ -102,7 +102,7 @@ int main(int argc, char *argv[], const char **envp)
                {
                        _SysDebug("Activity on child stdout");
                        // Read and update screen
-                       char    buf[128];
+                       char    buf[512];
                        int len = _SysRead(giPTYHandle, buf, sizeof(buf));
                        if( len <= 0 )  break;
                        
@@ -189,6 +189,8 @@ void Term_HandleOutput(tTerminal *Term, int Len, const char *Buf)
 {
        // TODO: Handle graphical / accelerated modes
 
+       //_SysDebug("Term_HandleOutput: %i \"%.*s\"", Len, Len, Buf);
+
         int    ofs = 0;
         int    esc_len = 0;
 

UCC git Repository :: git.ucc.asn.au