aboutsummaryrefslogtreecommitdiff
path: root/cmd-queue.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-12-17 12:01:24 +0000
committerThomas Adam <thomas@xteddy.org>2019-12-17 12:01:24 +0000
commit4223293ed862843e15af89b4257c638dce53e1b9 (patch)
tree4712d85e2ed6c98d6e1fa2d3d29cb2c544d62883 /cmd-queue.c
parent3879509426d8d269acb7b2aec3eb04f5b5a141d3 (diff)
parentf8cb759bdbf767348dba1ae841a86f2bdafe3f25 (diff)
downloadrtmux-4223293ed862843e15af89b4257c638dce53e1b9.tar.gz
rtmux-4223293ed862843e15af89b4257c638dce53e1b9.tar.bz2
rtmux-4223293ed862843e15af89b4257c638dce53e1b9.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-queue.c')
-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);