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.
This commit is contained in:
nethack.allison
2003-10-27 01:14:02 +00:00
parent 05f2aa40ce
commit f66a750562

View File

@@ -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,