diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-01-08 21:51:09 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-01-08 21:51:09 +0000 |
commit | fef9f789590b48cd5a6438ebfbefe84ce4b85115 (patch) | |
tree | 56dc78870219cbeec01a2e5e4cdc59e77f3ff0d9 /source/sys_unix.c | |
parent | 79d1509407240c0d549843009dba4b37b64c2a9b (diff) |
Fixed MVD recording problem while playback.
Fixed data being written to MVD buffers even without dummy MVD client.
Allow to specify up to 64 favorite servers via adrXX variables.
Properly display servers without `hostname' or `mapname' infokeys.
Set console title to display dedicated server hostname and port.
Removed redundant `toggleconsole' from UI_PushMenu.
Fixed AC_ParseQueryReply parsing message incorrectly.
Fixed MVD_GameClientBeing setting cl->number instead of cl->slot.
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r-- | source/sys_unix.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c index 7836c7e..27898de 100644 --- a/source/sys_unix.c +++ b/source/sys_unix.c @@ -233,6 +233,17 @@ void Sys_ConsoleOutput( const char *string ) { Sys_ShowInput(); } +void Sys_SetConsoleTitle( const char *title ) { + char buffer[MAX_STRING_CHARS]; + int len; + + if( !tty_enabled ) { + return; + } + len = Com_sprintf( buffer, sizeof( buffer ), "\033]0;%s\007", title ); + FIFO_Write( &sys_output, buffer, len ); +} + /* ================= Sys_ParseInput |