projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f3721
)
Don't put remote command into command history.
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 4 Dec 2014 22:16:44 +0000
(23:16 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Thu, 4 Dec 2014 22:16:44 +0000
(23:16 +0100)
src/io.c
patch
|
blob
|
history
diff --git
a/src/io.c
b/src/io.c
index
c1095aa
..
5fbfc29
100644
(file)
--- 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;
}