From 95cb93e5e45604f6eb8ced471223a2d049286383 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 6 Oct 2004 04:09:16 +0000
Subject: [PATCH] Don't bother clearing the screen on init after all.

---
 src/conio/win32cio.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/conio/win32cio.c b/src/conio/win32cio.c
index 1363acceaf..512fa1146d 100644
--- a/src/conio/win32cio.c
+++ b/src/conio/win32cio.c
@@ -283,7 +283,6 @@ int win32_getche(void)
 int win32_initciolib(long inmode)
 {
 	DWORD conmode;
-	char	*buf;
 	int	i,j;
 
 	if(!isatty(fileno(stdin)))
@@ -305,15 +304,6 @@ int win32_initciolib(long inmode)
 	win32_textmode(inmode);
 	cio_api.mouse=1;
 	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);
 }
 
-- 
GitLab