mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +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:
@ -54,6 +54,7 @@ control_notify_input(struct client *c, struct window_pane *wp,
|
|||||||
else
|
else
|
||||||
evbuffer_add_printf(message, "%c", buf[i]);
|
evbuffer_add_printf(message, "%c", buf[i]);
|
||||||
}
|
}
|
||||||
|
evbuffer_add(message, "", 1);
|
||||||
control_write(c, "%s", EVBUFFER_DATA(message));
|
control_write(c, "%s", EVBUFFER_DATA(message));
|
||||||
evbuffer_free(message);
|
evbuffer_free(message);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user