andrewchambers / janetsh

A powerful new shell that uses the janet programming language for both the implementation and repl.

Home Page:https://janet-shell.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restore terminal pgid in atexit cleanup

andrewchambers opened this issue · comments

If the child owns the terminal at the time of a SIGTERM, we don't take back ownership of the terminal, it seems to make sense to restore it, though I am unsure if it is needed.