Kernel - Fixed hack that was tripping armv7 alignment warnings
[tpg/acess2.git] / Usermode / Applications / login_src / main.c
index e151ff9..4059953 100644 (file)
@@ -61,6 +61,10 @@ int main(int argc, char *argv[])
                
                // Wait for child to terminate
                _SysWaitTID(pid, &status);
+       
+               // Clear graphics mode  
+               struct ptymode  mode = {.InputMode = PTYIMODE_ECHO|PTYIMODE_CANON,.OutputMode=0};
+               _SysIOCtl(0, PTY_IOCTL_SETMODE, &mode);
        }
        
        return 0;

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