microsoft/Terminal

Tab position is not restored for `restoreLastClosed` action

Open

#12 902 ouverte le 13 avr. 2022

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-UserInterfaceHelp WantedIssue-BugPriority-3Product-Terminal

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

Description

The problem with this is the tab position is not restored, if tab closed is first one, the restored tab is the last one. the position should also be restored

Originally posted by @swinder0161 in https://github.com/microsoft/terminal/issues/960#issuecomment-1098341305

This might be tricky - we might be able to remember the location of the tab, but I'd expect it to work weird if the tabs get reordered before restoring the tab. This might be acceptable though.

Guide contributeur