win32 synch
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef WIN32CON
|
#ifdef WIN32CON
|
||||||
#define LOW_LEVEL_OUTPUT
|
|
||||||
#define NEED_VARARGS /* Uses ... */
|
#define NEED_VARARGS /* Uses ... */
|
||||||
#include "hack.h"
|
#include "hack.h"
|
||||||
#include "wintty.h"
|
#include "wintty.h"
|
||||||
@@ -392,7 +391,7 @@ char ch;
|
|||||||
switch(ch) {
|
switch(ch) {
|
||||||
case '\n':
|
case '\n':
|
||||||
case '\r':
|
case '\r':
|
||||||
cmov(ttyDisplay->curx, ttyDisplay->cury);
|
! cmov(cursor.X, cursor.Y);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
WriteConsoleOutputAttribute(hConOut,&attr,1,cursor,&acount);
|
WriteConsoleOutputAttribute(hConOut,&attr,1,cursor,&acount);
|
||||||
|
|||||||
Reference in New Issue
Block a user