Add a helper function to get the terminal flags.

This commit is contained in:
nicm
2020-04-16 14:03:51 +00:00
parent b2443aa2f9
commit 4744aa43af
2 changed files with 27 additions and 18 deletions

1
tmux.h
View File

@ -1957,6 +1957,7 @@ int tty_open(struct tty *, char **);
void tty_close(struct tty *);
void tty_free(struct tty *);
void tty_set_flags(struct tty *, int);
int tty_get_flags(struct tty *);
void tty_write(void (*)(struct tty *, const struct tty_ctx *),
struct tty_ctx *);
void tty_cmd_alignmenttest(struct tty *, const struct tty_ctx *);