Skip to content
Snippets Groups Projects
Commit 95cb93e5 authored by deuce's avatar deuce
Browse files

Don't bother clearing the screen on init after all.

parent b094d4a0
Branches
Tags
No related merge requests found
...@@ -283,7 +283,6 @@ int win32_getche(void) ...@@ -283,7 +283,6 @@ int win32_getche(void)
int win32_initciolib(long inmode) int win32_initciolib(long inmode)
{ {
DWORD conmode; DWORD conmode;
char *buf;
int i,j; int i,j;
if(!isatty(fileno(stdin))) if(!isatty(fileno(stdin)))
...@@ -305,15 +304,6 @@ int win32_initciolib(long inmode) ...@@ -305,15 +304,6 @@ int win32_initciolib(long inmode)
win32_textmode(inmode); win32_textmode(inmode);
cio_api.mouse=1; cio_api.mouse=1;
j=vid_modes[modeidx].ysize*vid_modes[modeidx].xsize*2; j=vid_modes[modeidx].ysize*vid_modes[modeidx].xsize*2;
buf=(char *)malloc(j);
if(buf==NULL)
return(0);
for(i=0;i<j;) {
buf[i++]=32;
buf[i++]=7;
}
win32_puttext(1,1,vid_modes[modeidx].xsize,vid_modes[modeidx].ysize,buf);
gree(buf);
return(1); return(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment