diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-04 22:43:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-04 22:43:11 +0000 |
commit | a02c7e804c8c6b9984e9d09c305199ccec92763f (patch) | |
tree | 396a9d8eab87fa47c0d62e12f3ec043309a99cf1 /tmux.h | |
parent | 06ffed32169a6bf449f543803ee8b87c439ae94b (diff) | |
download | rtmux-a02c7e804c8c6b9984e9d09c305199ccec92763f.tar.gz rtmux-a02c7e804c8c6b9984e9d09c305199ccec92763f.tar.bz2 rtmux-a02c7e804c8c6b9984e9d09c305199ccec92763f.zip |
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 */ |