Use tmux or something like it (I now use zmx[1]).
[1] https://github.com/neurosnap/zmx
I am not interested in workarounds.
I am not interested in workarounds.