aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 6019ab51..69e4f6b2 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -512,7 +512,7 @@ cmdq_print(struct cmdq_item *item, const char *fmt, ...)
wme = TAILQ_FIRST(&wp->modes);
if (wme == NULL || wme->mode != &window_view_mode)
window_pane_set_mode(wp, &window_view_mode, NULL, NULL);
- window_copy_vadd(wp, fmt, ap);
+ window_copy_add(wp, "%s", msg);
}
free(msg);