win32tty changes
1. Switch to low-level console routines for performance improvements. 2. Instead of moving the cursor around like a real tty, just track the destination coordinates of where the cursor should be, and defer the movement until user input is expected. Credit to <Someone> for #2.
This commit is contained in:
@@ -275,19 +275,8 @@ char *argv[];
|
||||
# endif
|
||||
#endif
|
||||
|
||||
if (!*plname) {
|
||||
#ifdef WIN32CON
|
||||
boolean revert = FALSE;
|
||||
if (!iflags.rawio) {
|
||||
set_output_mode(1);
|
||||
revert = TRUE;
|
||||
}
|
||||
#endif
|
||||
if (!*plname)
|
||||
askname();
|
||||
#ifdef WIN32CON
|
||||
if (revert && iflags.rawio) set_output_mode(0);
|
||||
#endif
|
||||
}
|
||||
plnamesuffix(); /* strip suffix from name; calls askname() */
|
||||
/* again if suffix was whole name */
|
||||
/* accepts any suffix */
|
||||
|
||||
Reference in New Issue
Block a user