aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-11 19:32:25 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-11 19:32:25 +0000
commitff65e3754565f1d878c70257e96f6aea09c1c90e (patch)
treec51546af494bfa93dbcc6b38cc09626a3bb7d5bd /tmux.h
parentf0635717b3e840a72a962a2014b18d84fac4c83a (diff)
downloadrtmux-ff65e3754565f1d878c70257e96f6aea09c1c90e.tar.gz
rtmux-ff65e3754565f1d878c70257e96f6aea09c1c90e.tar.bz2
rtmux-ff65e3754565f1d878c70257e96f6aea09c1c90e.zip
Drop the no_stop argument to tty_close and tty_free in favour of a flag in the
tty struct.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index cdd8d6ad..060d2bd1 100644
--- a/tmux.h
+++ b/tmux.h
@@ -868,6 +868,7 @@ struct tty {
#define TTY_FREEZE 0x2
#define TTY_ESCAPE 0x4
#define TTY_UTF8 0x8
+#define TTY_STARTED 0x10
int flags;
int term_flags;
@@ -1164,8 +1165,8 @@ void tty_set_title(struct tty *, const char *);
void tty_update_mode(struct tty *, int);
void tty_draw_line(struct tty *, struct screen *, u_int, u_int, u_int);
int tty_open(struct tty *, const char *, char **);
-void tty_close(struct tty *, int);
-void tty_free(struct tty *, int);
+void tty_close(struct tty *);
+void tty_free(struct tty *);
void tty_write(void (*)(struct tty *, struct tty_ctx *), struct tty_ctx *);
void tty_cmd_alignmenttest(struct tty *, struct tty_ctx *);
void tty_cmd_cell(struct tty *, struct tty_ctx *);