vscode-terminals
vscode-terminals copied to clipboard
Should not be able to return to parent shell by detaching a persistent screen
Doing the detach will leave you at a non-persistent bash shell that looks to be named like the persistent one, so it could be confusing. screen / tmux should be exec'd instead of forked & execed so that the parent shell can be reclaimed. Just put exec
in front of whatever you are running to launch screen / tmux.