summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/pty/ntapi_pty_fd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c
index 58116df..a2701a9 100644
--- a/src/pty/ntapi_pty_fd.c
+++ b/src/pty/ntapi_pty_fd.c
@@ -264,6 +264,7 @@ int32_t __stdcall __ntapi_pty_inherit(
&ctx->guid,
&inherit.guid);
+ ctx->hpty = inherit.hpty;
ctx->access = inherit.access;
ctx->flags = inherit.flags;
ctx->share = inherit.share;