aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-23 14:44:02 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-23 14:44:02 +0000
commit2acf349d4e855eeb8b5d8303cc89aec016210e30 (patch)
treee508d208378741436f6b487cc91f89087522f11a /tmux.h
parentacedc2dcf2673cf199ba1ba08705dc8fd270c0c7 (diff)
downloadrtmux-2acf349d4e855eeb8b5d8303cc89aec016210e30.tar.gz
rtmux-2acf349d4e855eeb8b5d8303cc89aec016210e30.tar.bz2
rtmux-2acf349d4e855eeb8b5d8303cc89aec016210e30.zip
Sync OpenBSD patchset 346:
Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client into the server. This is another (the second of four) protocol version changes coming this morning, so again the server should be killed before upgrading.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/tmux.h b/tmux.h
index 50b306d4..93fbca9d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.451 2009-09-23 14:39:30 tcunha Exp $ */
+/* $Id: tmux.h,v 1.452 2009-09-23 14:44:02 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -21,7 +21,7 @@
#include "config.h"
-#define PROTOCOL_VERSION 2
+#define PROTOCOL_VERSION 3
#include <sys/param.h>
#include <sys/time.h>
@@ -335,14 +335,6 @@ struct msg_identify_data {
#define IDENTIFY_88COLOURS 0x4
#define IDENTIFY_HASDEFAULTS 0x8
int flags;
-
- u_int sx;
- u_int sy;
-};
-
-struct msg_resize_data {
- u_int sx;
- u_int sy;
};
struct msg_unlock_data {
@@ -1197,6 +1189,7 @@ void tty_puts(struct tty *, const char *);
void tty_putc(struct tty *, u_char);
void tty_pututf8(struct tty *, const struct grid_utf8 *);
void tty_init(struct tty *, int, char *);
+void tty_resize(struct tty *);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
void tty_detect_utf8(struct tty *);