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.
This commit is contained in:
Nicholas Marriott
2013-07-12 22:21:42 +01:00
parent bdea2f9eda
commit e8567098a4
4 changed files with 18 additions and 1 deletions

4
tmux.h
View File

@ -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 */