Skip to content

Persistant terminal session on tab refresh #2276

Closed

Description

@bpmct

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.

Activity

  1. ntimo commented on Nov 9, 2020

    @ntimo

    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

  2. code-asher commented on Nov 9, 2020

    @code-asher
    Member
  3. self-assigned this
    on Nov 9, 2020
  4. ntimo commented on Nov 20, 2020

    @ntimo

    I just installed code server v3.7.2 which contains the update to vscode 1.51 but sadly the terminal sessions are not persistent :(

  5. code-asher commented on Nov 20, 2020

    @code-asher
    Member
  6. added
    enhancementSome improvement that isn't a feature
    featureNew user visible feature
    and removed
    enhancementSome improvement that isn't a feature
    on Dec 7, 2020
  7. outermeasure commented on Feb 11, 2021

    @outermeasure
    Contributor

    Any news on this? @code-asher Do you have a starting point so I can take a look?

  8. code-asher commented on Feb 12, 2021

    @code-asher
    Member
  9. outermeasure commented on Feb 12, 2021

    @outermeasure
    Contributor

    Thank you. I will send a PR if I get anywhere (but no promises).

  10. outermeasure commented on Feb 12, 2021

    @outermeasure
    Contributor

    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

  11. ntimo commented on Mar 25, 2021

    @ntimo

    @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.

  12. code-asher commented on Mar 26, 2021

    @code-asher
    Member

    Nope, we haven't done anything here yet.

  13. added this to the Backlog milestone on Apr 29, 2021
  14. added a commit that references this issue on May 7, 2021
    6d1da2c
  15. modified the milestones: Backlog, v3.9.4 on May 7, 2021
  16. added a commit that references this issue on May 7, 2021
    c416e9b
  17. raychunghk commented on Apr 30, 2024

    @raychunghk

    Now i use control+shift+p , then "Terminal: Attach to Session" to resume the terminal session I was working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions