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
9abeff7f0b
commit
7815b30c7d
@ -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