summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-11-22 14:26:05 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-11-22 14:26:05 +0000
commite97fc3e897c4b8091e749b6054b3425c3ff1ba24 (patch)
treec48d5e0c79f8a7129d69b39b011ab541e095b57a /usr.bin/tmux/tmux.h
parent4a4b5922be5ef1bea62c3c729870fe34b601ec52 (diff)
Instead of worrying about xterm version, send DA and read DEC service
class which is more likely to be useful. Not used for anything yet anyway.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index d38b4337d43..159ecc7574c 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.362 2012/11/19 10:38:06 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.363 2012/11/22 14:26:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1193,7 +1193,7 @@ struct tty {
struct client *client;
char *path;
- u_int xterm_version;
+ u_int service_class;
u_int sx;
u_int sy;
@@ -1638,7 +1638,6 @@ void tty_init(struct tty *, struct client *, int, char *);
int tty_resize(struct tty *);
int tty_set_size(struct tty *, u_int, u_int);
void tty_start_tty(struct tty *);
-void tty_set_version(struct tty *, u_int);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);
void tty_update_mode(struct tty *, int, struct screen *);