mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 08:07:03 +00:00
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.
This commit is contained in:
3
tmux.h
3
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 *,
|
||||
|
Reference in New Issue
Block a user