mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
win32 server console now works
This commit is contained in:
parent
db32c8394b
commit
47f16678ab
1 changed files with 2 additions and 2 deletions
|
@ -561,13 +561,13 @@ const char *
|
|||
Sys_ConsoleInput (void)
|
||||
{
|
||||
static char text[256];
|
||||
int len = 0;
|
||||
static int len = 0;
|
||||
|
||||
#ifdef _WIN32
|
||||
int c;
|
||||
|
||||
// read a line out
|
||||
while (kbhit ()) {
|
||||
while (_kbhit ()) {
|
||||
c = _getch ();
|
||||
putch (c);
|
||||
if (c == '\r') {
|
||||
|
|
Loading…
Reference in a new issue