mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Convert the window pane (pty master side) fd over to use a bufferevent.
The evbuffer API is very similar to the existing tmux buffer API so this was remarkably painless. Not many possible ways to do it, I suppose.
This commit is contained in:
6
tmux.h
6
tmux.h
@ -798,9 +798,7 @@ struct window_pane {
|
||||
char tty[TTY_NAME_MAX];
|
||||
|
||||
int fd;
|
||||
struct event event;
|
||||
struct buffer *in;
|
||||
struct buffer *out;
|
||||
struct bufferevent *event;
|
||||
|
||||
struct input_ctx ictx;
|
||||
|
||||
@ -1586,8 +1584,6 @@ void server_client_callback(int, short, void *);
|
||||
void server_client_loop(void);
|
||||
|
||||
/* server-window.c */
|
||||
void server_window_prepare(void);
|
||||
void server_window_callback(int, short, void *);
|
||||
void server_window_loop(void);
|
||||
|
||||
/* server-fn.c */
|
||||
|
Reference in New Issue
Block a user