mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Terminate the output buffer for control mode output - it is now used as
a string. GitHub issue 2114.
This commit is contained in:
parent
c0d74661b7
commit
4ffbebedce
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user