diff --git a/neo/sys/posix/posix_main.cpp b/neo/sys/posix/posix_main.cpp index f3f9ae8e..77c515d2 100644 --- a/neo/sys/posix/posix_main.cpp +++ b/neo/sys/posix/posix_main.cpp @@ -657,12 +657,12 @@ void tty_FlushIn() { /* ================ -Posix_ConsoleInput +Sys_ConsoleInput Checks for a complete line of text typed in at the console. Return NULL if a complete line is not ready. ================ */ -char *Posix_ConsoleInput( void ) { +char *Sys_ConsoleInput( void ) { if ( tty_enabled ) { char key; bool hidden = false; @@ -919,7 +919,7 @@ the actual mouse and keyboard input is in the Sys_Poll logic */ void Sys_GenerateEvents( void ) { char *s; - if ( ( s = Posix_ConsoleInput() ) ) { + if ( ( s = Sys_ConsoleInput() ) ) { char *b; int len; diff --git a/neo/sys/sys_public.h b/neo/sys/sys_public.h index be16da8d..66bbff66 100644 --- a/neo/sys/sys_public.h +++ b/neo/sys/sys_public.h @@ -198,6 +198,7 @@ void Sys_DLL_Unload( uintptr_t dllHandle ); void Sys_GenerateEvents( void ); sysEvent_t Sys_GetEvent( void ); void Sys_ClearEvents( void ); +char *Sys_ConsoleInput( void ); // input is tied to windows, so it needs to be started up and shut down whenever // the main window is recreated diff --git a/neo/sys/win32/win_local.h b/neo/sys/win32/win_local.h index 72a4fb4d..64b06785 100644 --- a/neo/sys/win32/win_local.h +++ b/neo/sys/win32/win_local.h @@ -63,7 +63,6 @@ void Sys_QueEvent( int time, sysEventType_t type, int value, int value2, int ptr void Sys_CreateConsole( void ); void Sys_DestroyConsole( void ); -char *Sys_ConsoleInput (void); char *Sys_GetCurrentUser( void ); void Win_SetErrorText( const char *text );