aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-07-12 22:21:42 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-07-12 22:21:42 +0100
commite8567098a4eaa81306effeaef430d9d74f603f7a (patch)
treefa21f9295cf88217e055b4029e31befb413a7820 /tmux.h
parentbdea2f9eda1abc8f4a6c423af62ef7538b2ad249 (diff)
downloadrtmux-e8567098a4eaa81306effeaef430d9d74f603f7a.tar.gz
rtmux-e8567098a4eaa81306effeaef430d9d74f603f7a.tar.bz2
rtmux-e8567098a4eaa81306effeaef430d9d74f603f7a.zip
Add support for Cgywin, apparently it is enough just to open the tty again in
the server and fd passing is not necessary. Needs some ifdefs unfortunately but no way around that and some of them can go next time we're willing to do a protocol bump. Patch from J Raynor jxraynor at gmail dot com.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index eb53d3b4..cc1c79e8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -471,6 +471,10 @@ struct msg_identify_data {
char term[TERMINAL_LENGTH];
+#ifdef __CYGWIN__
+ char ttyname[TTY_NAME_MAX];
+#endif
+
#define IDENTIFY_UTF8 0x1
#define IDENTIFY_256COLOURS 0x2
/* 0x4 unused */