From ee67f79dd02393dea5ba403d26670a7299e7bf19 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 14 Mar 2002 16:07:44 +0000
Subject: [PATCH] Removed getstr() echo from non-Unix builds.

---
 src/uifc/uifcx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/uifc/uifcx.c b/src/uifc/uifcx.c
index b840420499..f9785ebe47 100644
--- a/src/uifc/uifcx.c
+++ b/src/uifc/uifcx.c
@@ -115,10 +115,12 @@ static int getstr(char* str, int maxlen)
 	istty=isatty(fileno(stdin));
     while(1) {
 		fread(&ch,1,1,stdin);
+#ifdef __unix__
 		if(!istty)  {
 			printf("%c",ch);
 			fflush(stdout);
 		}
+#endif
         if(ch=='\r' || ch=='\n')	/* enter */
         	break;
         if(ch=='\b') {				/* backspace */
-- 
GitLab