about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/command.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/command/command.c b/src/command/command.c
index f05d2a79..33e95459 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1733,11 +1733,6 @@ cmd_process_input(char *inp)
     gboolean result = FALSE;
     g_strstrip(inp);
 
-    // add line to history if something typed
-    if (strlen(inp) > 0) {
-        ui_inp_history_append(inp);
-    }
-
     // just carry on if no input
     if (strlen(inp) == 0) {
         result = TRUE;
@@ -3051,4 +3046,4 @@ command_docgen(void)
     fclose(toc_fragment);
     fclose(main_fragment);
     g_list_free(cmds);
-}
\ No newline at end of file
+}