Lines printed before entering fullscreen are now displayed correctly

This commit is contained in:
Jacobo Tarrío
2000-07-09 00:19:24 +00:00
parent fb0b5f4649
commit 9a2386a823
4 changed files with 35 additions and 16 deletions

View File

@@ -288,7 +288,7 @@ int ShellToDos(char* command, char* message, int cls, int cursor, int swap, int
#endif
#ifdef __USE_NCURSES__
savetty();
def_prog_mode();
reset_shell_mode();
#endif
@@ -342,10 +342,10 @@ int ShellToDos(char* command, char* message, int cls, int cursor, int swap, int
if(status != -1)
status = 0;
// Restore keyboard settings
// Restore console settings
#ifdef __USE_NCURSES__
reset_prog_mode();
clearok(stdscr, TRUE);
resetty();
#else
gkbd.Init();
#endif