microsoft/Terminal

Tab position is not restored for `restoreLastClosed` action

Open

#12.902 geöffnet am 13. Apr. 2022

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.212 Forks)batch import
Area-UserInterfaceHelp WantedIssue-BugPriority-3Product-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide