about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 2541e39..8658086 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -5330,8 +5330,9 @@ cmd_activate_cb(GtkEntry *entry, struct tab *t)
 		/* XXX history for link following? */
 	} else if (c[0] == ':') {
 		history_add(&chl, command_file, s, &cmd_history_count);
-		cmd_execute(t, s);
 		/* can't call hide_cmd after cmd_execute */
+		hide_cmd(t);
+		cmd_execute(t, s);
 		return;
 	}