aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-14 21:17:54 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-14 21:17:54 +0000
commit5cc971facd30171a03267faf2ca9a875df824b0f (patch)
tree949894dd8a1eb7c7a515a4bf5594b373d780bc33 /tmux.h
parentb402cef338e863ffe503f2fcdce3fb44d879efbf (diff)
downloadrtmux-5cc971facd30171a03267faf2ca9a875df824b0f.tar.gz
rtmux-5cc971facd30171a03267faf2ca9a875df824b0f.tar.bz2
rtmux-5cc971facd30171a03267faf2ca9a875df824b0f.zip
Sync OpenBSD patchset 244:
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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 027c1734..dfdf132d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.411 2009-08-14 21:13:48 tcunha Exp $ */
+/* $Id: tmux.h,v 1.412 2009-08-14 21:17:54 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -866,6 +866,7 @@ struct tty {
#define TTY_FREEZE 0x2
#define TTY_ESCAPE 0x4
#define TTY_UTF8 0x8
+#define TTY_STARTED 0x10
int flags;
int term_flags;
@@ -1162,8 +1163,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 *);