about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-17 20:05:27 +0100
committerJames Booth <boothj5@gmail.com>2015-06-17 20:05:27 +0100
commitf51a26e6a0b58cb8d59c7b9bfe3d6664869a5043 (patch)
treee45d5bed8709b8cc81b6c37df2ee937598594a0c
parente00a03f91697acda69e576e68733ba8c13c0fec4 (diff)
parentd00d71f2455eb387b6303e6f26313f3deaaa97e3 (diff)
downloadprofani-tty-f51a26e6a0b58cb8d59c7b9bfe3d6664869a5043.tar.gz
Merge remote-tracking branch 'quite/#513'
-rw-r--r--src/command/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c
index ddece326..af04f23a 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1845,7 +1845,7 @@ cmd_process_input(ProfWin *window, char *inp)
 {
     log_debug("Input received: %s", inp);
     gboolean result = FALSE;
-    g_strstrip(inp);
+    g_strchomp(inp);
 
     // just carry on if no input
     if (strlen(inp) == 0) {