mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Do not use evbuffer_add_buffer because it is destructive and doesn't
work in newer libevent.
This commit is contained in:
4
notify.c
4
notify.c
@ -199,13 +199,13 @@ notify_hook(struct cmdq_item *item, const char *name)
|
||||
}
|
||||
|
||||
void
|
||||
notify_input(struct window_pane *wp, struct evbuffer *input)
|
||||
notify_input(struct window_pane *wp, const u_char *buf, size_t len)
|
||||
{
|
||||
struct client *c;
|
||||
|
||||
TAILQ_FOREACH(c, &clients, entry) {
|
||||
if (c->flags & CLIENT_CONTROL)
|
||||
control_notify_input(c, wp, input);
|
||||
control_notify_input(c, wp, buf, len);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user