microsoft/Terminal

Tab position is not restored for `restoreLastClosed` action

Ouverte

#12 902 ouverte le 13 avr. 2022

 (1 commentaire) (0 réaction) (0 personne assignée)C++ (9 275 forks)batch import
Area-UserInterfaceHelp WantedIssue-BugPriority-3Product-Terminal

Métriques du dépôt

Stars
 (103 173 étoiles)
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