Rex can now resume your programs through a server restart! This is based on a brand new terminal protocol we're also publishing today (OSC 7577) that we worked on in collaboration with @herdrdev with review from multiple terminal emulator and terminal program authors. Link:
Eman Khoubian@emankhoubian·在押
Making it an open terminal protocol instead of a feature for one tool is the right call. A server restart shouldn't mean losing whatever you were running.