Terminate the output buffer for control mode output - it is now used as

a string. GitHub issue 2114.
pull/2123/head
nicm 2020-03-16 09:12:44 +00:00
parent 9abeff7f0b
commit 7815b30c7d
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}