Skip to content

Terminal should also restore runtime tab titles #11878

Closed

Description

@jzymx50

Description of the new feature/enhancement

I am using version 1.12 and the window restoration feature is great. But I find it only memorizes the number of panes or tabs you opened last time. It would be better if it can also restore:

  • The name of the tabs. (I often open a tab for the server running and another for git commands. So I rename the tab to make it clear.)
  • The working directory of each tab or pane.

Thanks! 😸

Proposed technical implementation details (optional)

Activity

  1. added
    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.
    on Dec 4, 2021
  2. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Dec 4, 2021
  3. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Dec 4, 2021
  4. Rosefield commented on Dec 6, 2021

    @Rosefield
    Contributor

    For the name of tabs, that can be added to the list in #9800. Right now the terminal saves the tab title attached to a pane (from using the tabTitle argument on creation), but I missed the one that can be set otherwise at runtime.

    For the working directory, if you have configured your shell to use the OSC 9;9 code to tell the terminal what your directory is, it will save that currently. MicrosoftDocs/terminal#449 has documentation for how to add that.

  5. changed the title [-]Make window restoration more powerful[/-] [+]Terminal should also restore runtime tab titles[/+] on Dec 6, 2021
  6. added
    Help WantedWe encourage anyone to jump in on these.
    Issue-BugIt either shouldn't be doing this or needs an investigation.
    Area-UserInterfaceIssues pertaining to the user interface of the Console or Terminal
    and removed
    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.
    on Dec 6, 2021
  7. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Dec 6, 2021
  8. ghost added
    In-PRThis issue has a related PR
    on Dec 31, 2021
  9. ghost closed this as completedin #12073on Jan 10, 2022
  10. ghost removed
    In-PRThis issue has a related PR
    on Jan 10, 2022
  11. ghost added a commit that references this issue on Jan 10, 2022
    acbfb30
  12. ghost added
    Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.
    on Jan 10, 2022
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

    Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingPriority-3A description (P3)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions