From f1692e7d753e2ae0b2222425ba51f185928c2988 Mon Sep 17 00:00:00 2001 From: tjw Date: Sat, 15 Sep 2007 02:22:58 +0000 Subject: * rewrite of the win32 dedicated console: 1) NET_Sleep() no longer watches for input, Sys_Sleep() added for waiting on input. 2) Added "CtrlHandler" for trapping Ctrl-C and other quit methods not handled by signals on windows 3) Added history support 4) Added tab completion 5) Removed automatic cursor/scroll adjustment (too problematic) 6) Enable mousewheel scrolling 7) Stop using the InputBuffer for editing This seems to work pretty well now, but I jumped the gun on a previous commit message by saying you can scroll now without locking up your server. That was only true up until the point that a server tried to print to the console, at that point it will hang until you release the scroll bar :( It may be possible to get around this by using a seperate thread for console output, but that's a whole new can of worms. git-svn-id: svn://svn.icculus.org/quake3/trunk@1182 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/qcommon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'code/qcommon/qcommon.h') diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index a563ef9..5fd3cd5 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -1030,6 +1030,7 @@ char *Sys_ConsoleInput(void); char **Sys_ListFiles( const char *directory, const char *extension, char *filter, int *numfiles, qboolean wantsubs ); void Sys_FreeFileList( char **list ); +void Sys_Sleep(int msec); qboolean Sys_LowPhysicalMemory( void ); -- cgit v1.2.3