diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-08-11 08:48:48 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-08-11 08:55:23 -0700 |
commit | a01f29c11de0df084a9a1e6b932b2937936d2119 (patch) | |
tree | 0fa2efb5d6caa67f935eda750f2bf6f8d476a66f /Src | |
parent | 1af2e6e02d5cb8ca8d11f107b670cddfd10a7e81 (diff) | |
download | zsh-a01f29c11de0df084a9a1e6b932b2937936d2119.tar.gz zsh-a01f29c11de0df084a9a1e6b932b2937936d2119.tar.xz zsh-a01f29c11de0df084a9a1e6b932b2937936d2119.zip |
36092: return the zpty master file descriptor in $REPLY for use with "zle -F" etc.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/zpty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 7b6130c6f..12e42b5bd 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -463,6 +463,8 @@ newptycmd(char *nam, char *pname, char **args, int echo, int nblock) #endif errno == EINTR)); + setiparam("REPLY", master); + return 0; } |