mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 11:55:56 +00:00
Set client stdout file descriptor also for Cgywin, from Michael Wild via Rafael
Kitover in GitHub issue 4148.
This commit is contained in:
parent
38c38f1c64
commit
8d6eb4be40
@ -3111,6 +3111,7 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
c->fd = open(c->ttyname, O_RDWR|O_NOCTTY);
|
||||
c->out_fd = dup(c->fd);
|
||||
#endif
|
||||
|
||||
if (c->flags & CLIENT_CONTROL)
|
||||
|
Loading…
Reference in New Issue
Block a user