diff options
author | nicm <nicm> | 2020-05-24 09:13:06 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-24 09:13:06 +0000 |
commit | 6c829827110c6616c8abe8cb3ef9e9ed0a1dbd7d (patch) | |
tree | 5de239b7d8c9f5acf79d1eb17462c03487f0d239 /tmux.h | |
parent | 033d6472cb71e82be75aae6682031ef3b711226a (diff) | |
download | rtmux-6c829827110c6616c8abe8cb3ef9e9ed0a1dbd7d.tar.gz rtmux-6c829827110c6616c8abe8cb3ef9e9ed0a1dbd7d.tar.bz2 rtmux-6c829827110c6616c8abe8cb3ef9e9ed0a1dbd7d.zip |
Now the tty has a pointer back to the client there is no point (and a
bit confusing) in it keeping a copy of the fd as well. Remove it.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1283,7 +1283,6 @@ struct tty { u_int rleft; u_int rright; - int fd; struct event event_in; struct evbuffer *in; struct event event_out; @@ -2064,7 +2063,7 @@ void tty_putc(struct tty *, u_char); void tty_putn(struct tty *, const void *, size_t, u_int); void tty_cell(struct tty *, const struct grid_cell *, const struct grid_cell *, int *); -int tty_init(struct tty *, struct client *, int); +int tty_init(struct tty *, struct client *); void tty_resize(struct tty *); void tty_set_size(struct tty *, u_int, u_int, u_int, u_int); void tty_start_tty(struct tty *); |