bufferevent
struct bufferevent {
struct input_ctx *input_init(struct window_pane *, struct bufferevent *,
void input_reply_clipboard(struct bufferevent *, const char *, size_t,
int input_key(struct screen *, struct bufferevent *, key_code);