On Feb 9 23:46, Takashi Yano wrote: > - PTY has a problem that the key input, which is typed during > windows native app is running, disappear when it returns to shell. > (Problem 3 in https://cygwin.com/ml/cygwin/2020-02/msg00007.html) > This is beacuse pty has two input pipes, one is for cygwin apps > and the other one is for native windows apps. The key input during > windows native program is running is sent to the second input pipe > while cygwin shell reads input from the first input pipe. > This patch realize transfering input data between these two pipes. > --- > winsup/cygwin/fhandler.h | 12 +- > winsup/cygwin/fhandler_tty.cc | 400 ++++++++++++++++++++++++++-------- > winsup/cygwin/select.cc | 2 + > winsup/cygwin/tty.cc | 3 + > winsup/cygwin/tty.h | 3 + > 5 files changed, 329 insertions(+), 91 deletions(-)
Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature