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

The goal is you can connect to processes from any kind of shell: ghostty, cmux, tmux, iTerm, etc, and a terminal over ssh, and all at the same time (the server allows multiple connections per process). This has felt way more flexible to me and therefore more unix-like.