https://github.com/cosmos72/detachtty
