You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eclipse Theia keeps any terminal sessions open when the tab is refreshed. Would it be possible to have this same functionality in code-server? Either enabled at all times, or with a flag.
Ok, I found a related but different problem that was a bit more irritating. Terminal processes leak when refreshing the page.
I have a PR for that: #2723
@outermeasure@code-asher Do you have any news about this? :) This would be super important since for example when your run Ansible from Code Server and your connection for what ever reason breaks being able to reconnect and still having the open terminal would be quite nice.
Activity
ntimo commentedon Nov 9, 2020
VSCode 1.51 has been released with support for "Ability to persist/reconnect to terminal sessions." might this actually fix this issue?
Source: https://code.visualstudio.com/updates/v1_51
code-asher commentedon Nov 9, 2020
ntimo commentedon Nov 20, 2020
I just installed code server v3.7.2 which contains the update to vscode 1.51 but sadly the terminal sessions are not persistent :(
code-asher commentedon Nov 20, 2020
outermeasure commentedon Feb 11, 2021
Any news on this? @code-asher Do you have a starting point so I can take a look?
code-asher commentedon Feb 12, 2021
outermeasure commentedon Feb 12, 2021
Thank you. I will send a PR if I get anywhere (but no promises).
outermeasure commentedon Feb 12, 2021
Ok, I found a related but different problem that was a bit more irritating. Terminal processes leak when refreshing the page.
I have a PR for that: #2723
ntimo commentedon Mar 25, 2021
@outermeasure @code-asher Do you have any news about this? :) This would be super important since for example when your run Ansible from Code Server and your connection for what ever reason breaks being able to reconnect and still having the open terminal would be quite nice.
code-asher commentedon Mar 26, 2021
Nope, we haven't done anything here yet.
Use ptyHostService
Use ptyHostService
raychunghk commentedon Apr 30, 2024
Now i use control+shift+p , then "Terminal: Attach to Session" to resume the terminal session I was working on.