win32tty: prevent early messages from flashing by unseen

This commit is contained in:
nethack.allison
2005-01-15 14:04:03 +00:00
parent b064510a9b
commit 7b83a76bff
3 changed files with 17 additions and 1 deletions

View File

@@ -498,7 +498,7 @@ cl_end()
void
clear_screen()
raw_clear_screen()
{
if (GetConsoleScreenBufferInfo(hConOut,&csbi)) {
DWORD ccnt;
@@ -514,6 +514,12 @@ clear_screen()
csbi.dwSize.X * csbi.dwSize.Y,
newcoord, &ccnt);
}
}
void
clear_screen()
{
raw_clear_screen();
home();
}