summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-10-31 13:12:03 +0000
committernicm <nicm>2015-10-31 13:12:03 +0000
commitabb4e9e2fa68c38f71fedc6d1ce2e78fcaa59495 (patch)
tree0b5c51da4b7da02d7bbc531ff1a19e281b2c3e25 /tmux.h
parent01defc9f4965bb174e1d1295754d5a8695683054 (diff)
The output log is only useful once and it means creating a file, so open
it once at startup instead of in every call to tty_open.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index f26f1c8c..25b51350 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1102,8 +1102,6 @@ struct tty {
int fd;
struct bufferevent *event;
- int log_fd;
-
struct termios tio;
struct grid_cell cell;
@@ -1555,6 +1553,7 @@ void environ_update(const char *, struct environ *, struct environ *);
void environ_push(struct environ *);
/* tty.c */
+void tty_create_log(void);
void tty_init_termios(int, struct termios *, struct bufferevent *);
void tty_raw(struct tty *, const char *);
void tty_attributes(struct tty *, const struct grid_cell *,