Skip to content

Terminal should remember the history of commands after VS Code's restart on Windows #43557

Closed

Description

@user3323
  • VSCode Version: 1.21.0-ins
  • OS Version: win7x64

Every time you restart the VS Code - you have to enter the commands again and again.

So, maybe anyone could implement a in-built history for those? It would help a lot!

Activity

  1. added
    terminal
    on Feb 13, 2018
  2. Bendjen commented on Feb 13, 2018

    @Bendjen

    Agree ! That is quite useful for me , too.

  3. Tyriar commented on Feb 21, 2018

    @Tyriar
    Contributor

    This might be happening on Windows because we're forcefully killing all console processes in the process tree when VS Code is shutdown https://github.com/Tyriar/node-pty/blob/ad71e8989d7613e2e439cc191ede6d5e48600f58/src/windowsPtyAgent.ts#L99

    Without this sometimes zombie processes would be left over. Perhaps there should be a timeout or something before we kill everything to allow processes to shut down gracefully? It would then depend on how winpty shuts down the processes.

  4. added
    bug
    help wanted
    windows
    on Feb 21, 2018
  5. changed the title [-]Feature Request - Terminal should remember the history of commands after VS Code's restart[/-] [+]Terminal should remember the history of commands after VS Code's restart on Windows[/+] on Feb 21, 2018
  6. Tyriar commented on Sep 12, 2018

    @Tyriar
    Contributor

    This is likely related to winpty, tracking in #45693

  7. added
    *duplicate
    on Sep 12, 2018
  8. locked and limited conversation to collaborators on Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatebughelp wantedterminalwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions