I’ve made a pty wrapper for detaching from long running processes: https://github.com/myobie/pty
I prefer this over tmux or zellij – only keep long running processes that matter, not a bunch of random incidental bashes and such. Uses xterm/headless so it works with anything, even vim.
I’m also working on a websocket api for the pty server… if you have any ideas for what you’d want to see there then let me know. #development #shell #pty