terminal
terminal copied to clipboard
Make sure that pty window ownership changes when root process exits
There's a TODO yet to be done: make sure that ownership changes when the root process exits. Terminal doesn't care about that right now, but other ConPTY clients don't have the same requirements as Terminal.
Originally posted by @DHowett in https://github.com/microsoft/terminal/issues/14196#issuecomment-1276671408