From 732a56f6b2125706e0cc5e305693d7e3d11465b9 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Thu, 4 Dec 2014 23:16:44 +0100 Subject: [PATCH] Don't put remote command into command history. --- src/io.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/io.c b/src/io.c index c1095aa..5fbfc29 100644 --- a/src/io.c +++ b/src/io.c @@ -101,9 +101,15 @@ static gboolean fifo_watch(GIOChannel *gio, GIOCondition condition) g_error_free(err); } + /* don't recore remote commands in history */ + vb.state.enable_history = false; + map_handle_string(line, true); g_free(line); + /* reenable history recording */ + vb.state.enable_history = true; + return true; } -- 2.20.1