From: nethack.allison Date: Mon, 27 Oct 2003 01:14:02 +0000 (+0000) Subject: win32tty: fix extended commands X-Git-Tag: MOVE2GIT~1626 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f66a7505620c61a6c07ffc5aeb0a90f74e51f128;p=nethack win32tty: fix extended commands The autocompletion was working, but you couldn't tell because the text was overwritten with blanks. This was a recent glitch created during fix for other cursor problems. --- diff --git a/sys/winnt/nttty.c b/sys/winnt/nttty.c index 1f033b48d..4035797b9 100644 --- a/sys/winnt/nttty.c +++ b/sys/winnt/nttty.c @@ -59,7 +59,7 @@ int GUILaunched; static BOOL FDECL(CtrlHandler, (DWORD)); #ifdef PORT_DEBUG -static boolean display_cursor_info = TRUE; +static boolean display_cursor_info = FALSE; #endif extern boolean getreturn_enabled; /* from sys/share/pcsys.c */ @@ -429,11 +429,6 @@ char ch; break; case '\b': cursor.X--; - ch = ' '; - WriteConsoleOutputAttribute(hConOut,&attr,1, - cursor,&acount); - WriteConsoleOutputCharacter(hConOut,&ch,1, - cursor,&ccount); break; default: WriteConsoleOutputAttribute(hConOut,&attr,1,