aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-01-12 22:01:26 +0000
committerThomas Adam <thomas@xteddy.org>2020-01-12 22:01:26 +0000
commite9b129433121e5d029882981849f6b5547e52153 (patch)
tree1e5d37a7e97ad0d0f391628534a3530b3a3ba590 /tmux.h
parent61b075a26342a5ea1b2a351ad659c7198cd23c09 (diff)
parent193e637de050e3757698812e9a87b869c87def6c (diff)
downloadrtmux-e9b129433121e5d029882981849f6b5547e52153.tar.gz
rtmux-e9b129433121e5d029882981849f6b5547e52153.tar.bz2
rtmux-e9b129433121e5d029882981849f6b5547e52153.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h25
1 files changed, 4 insertions, 21 deletions
diff --git a/tmux.h b/tmux.h
index bf9b8cd1..6fd63f40 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1170,7 +1170,9 @@ struct tty_term {
struct tty_code *codes;
#define TERM_256COLOURS 0x1
-#define TERM_EARLYWRAP 0x2
+#define TERM_NOXENL 0x2
+#define TERM_DECSLRM 0x4
+#define TERM_DECFRA 0x8
int flags;
LIST_ENTRY(tty_term) entry;
@@ -1232,16 +1234,6 @@ struct tty {
struct tty_term *term;
char *term_name;
int term_flags;
- enum {
- TTY_VT100,
- TTY_VT101,
- TTY_VT102,
- TTY_VT220,
- TTY_VT320,
- TTY_VT420,
- TTY_VT520,
- TTY_UNKNOWN
- } term_type;
u_int mouse_last_x;
u_int mouse_last_y;
@@ -1255,15 +1247,6 @@ struct tty {
struct event key_timer;
struct tty_key *key_tree;
};
-#define TTY_TYPES \
- { "VT100", \
- "VT101", \
- "VT102", \
- "VT220", \
- "VT320", \
- "VT420", \
- "VT520", \
- "Unknown" }
/* TTY command context. */
struct tty_ctx {
@@ -1994,7 +1977,7 @@ void tty_draw_line(struct tty *, struct window_pane *, struct screen *,
int tty_open(struct tty *, char **);
void tty_close(struct tty *);
void tty_free(struct tty *);
-void tty_set_type(struct tty *, int);
+void tty_set_flags(struct tty *, int);
void tty_write(void (*)(struct tty *, const struct tty_ctx *),
struct tty_ctx *);
void tty_cmd_alignmenttest(struct tty *, const struct tty_ctx *);