Terminal Dormancy Issue #6390
-
When running a task in the terminal in the foreground and closing the browser, the ongoing process is temporarily paused. Reopening the browser and reconnecting the terminal resumes the paused process. To address this, I installed GNU's screen and configured both bashrc and screenrc. As a result, whenever a new terminal is opened, a new screen session starts, and when that terminal is closed, the screen session is terminated automatically. However, this is merely a user-specific customization. To fundamentally solve this issue, the terminal connection method in code-server needs improvement. Alternatively, a combined approach using bash and screen, similar to what I implemented, could be adopted. I'd love to hear your thoughts on this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think any fundamental changes to the terminals would need to go upstream (https://github.com/microsoft/vscode), patching them in code-server would probably be difficult. At least, this sounds to me like a non-trivial change. |
Beta Was this translation helpful? Give feedback.
I think any fundamental changes to the terminals would need to go upstream (https://github.com/microsoft/vscode), patching them in code-server would probably be difficult. At least, this sounds to me like a non-trivial change.