about summary refs log tree commit diff stats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/command.c b/command.c
index f76f0948..1b1368aa 100644
--- a/command.c
+++ b/command.c
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <ncurses.h>
 #include "command.h"
+#include "input_buffer.h"
 #include "jabber.h"
 #include "windows.h"
 #include "util.h"
@@ -41,6 +42,9 @@ int process_input(char *inp)
 {
     int result = FALSE;
 
+    if (strlen(inp) > 0)
+        inpbuf_append(inp);
+
     if (strlen(inp) == 0) {
         result = TRUE;
     } else if (inp[0] == '/') {