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:
@@ -103,9 +103,6 @@ getlock()
|
||||
# if defined(MSDOS) && defined(NO_TERMS)
|
||||
int grmode = iflags.grmode;
|
||||
# endif
|
||||
#ifdef WIN32CON
|
||||
if (iflags.rawio) set_output_mode(0);
|
||||
#endif
|
||||
/* we ignore QUIT and INT at this point */
|
||||
if (!lock_file(HLOCK, LOCKPREFIX, 10)) {
|
||||
wait_synch();
|
||||
@@ -263,9 +260,6 @@ gotlock:
|
||||
# if defined(MSDOS) && defined(NO_TERMS)
|
||||
if (grmode) gr_init();
|
||||
# endif
|
||||
#ifdef WIN32CON
|
||||
if (!iflags.rawio) set_output_mode(1);
|
||||
#endif
|
||||
}
|
||||
#endif /* PC_LOCKING */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user