diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c index 6934aa20..6e5e966c 100644 --- a/code/sys/con_tty.c +++ b/code/sys/con_tty.c @@ -356,8 +356,8 @@ char *CON_Input( void ) Q_strncpyz(text, TTY_con.buffer, sizeof(text)); Field_Clear(&TTY_con); key = '\n'; - write(1, &key, 1); - write( 1, "]", 1 ); + write(STDOUT_FILENO, &key, 1); + write(STDOUT_FILENO, "]", 1); return text; } if (key == '\t')