aboutsummaryrefslogtreecommitdiff
path: root/control-notify.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-03-16 10:01:27 +0000
committerThomas Adam <thomas@xteddy.org>2020-03-16 10:01:27 +0000
commit45be93f6044e9315e066c7ebd75bdd9c54a97498 (patch)
tree057597d17bae3227cebd6b752c21264455dee9c7 /control-notify.c
parentf584fe1b006abf42aebd0b25b2ee8d082202c778 (diff)
parent7cae4e8e89a98329843e3df8b3644f501288256b (diff)
downloadrtmux-45be93f6044e9315e066c7ebd75bdd9c54a97498.tar.gz
rtmux-45be93f6044e9315e066c7ebd75bdd9c54a97498.tar.bz2
rtmux-45be93f6044e9315e066c7ebd75bdd9c54a97498.zip
Merge branch 'obsd-master'
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/control-notify.c b/control-notify.c
index babfcf2d..a513c147 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -54,6 +54,7 @@ control_notify_input(struct client *c, struct window_pane *wp,
else
evbuffer_add_printf(message, "%c", buf[i]);
}
+ evbuffer_add(message, "", 1);
control_write(c, "%s", EVBUFFER_DATA(message));
evbuffer_free(message);
}