summaryrefslogtreecommitdiff
path: root/source/sys_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r--source/sys_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c
index 4fa67d0..fbb56df 100644
--- a/source/sys_unix.c
+++ b/source/sys_unix.c
@@ -324,7 +324,7 @@ static void tty_parse_input( const char *text ) {
s++;
}
Sys_Printf( "]%s\n", s );
- Cbuf_AddText( s );
+ Cbuf_AddText( &cmd_buffer, s );
} else {
write( 1, "]\n", 2 );
}
@@ -420,7 +420,7 @@ void Sys_RunConsole( void ) {
text[ret] = 0;
if( !tty_enabled ) {
- Cbuf_AddText( text );
+ Cbuf_AddText( &cmd_buffer, text );
return;
}