mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Pass terminal data on socket on Cygwin platforms
On Cygwin and MSYS2 use a controlling pty for the server client handler instead of passing a file descriptor over the socket which is not possible on Cygwin platforms. Attach an event to STDIN on the client, passing data from it to the server and attach an event to the pty out_fd on the server client handler and pass data from it to the client. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
@ -68,6 +68,11 @@ enum msgtype {
|
||||
MSG_WRITE_READY,
|
||||
MSG_WRITE_CLOSE,
|
||||
MSG_READ_CANCEL
|
||||
#ifdef TTY_OVER_SOCKET
|
||||
,
|
||||
MSG_TTY_READ,
|
||||
MSG_TTY_WRITE
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user