microsoft/Terminal
View on GitHubTab position is not restored for `restoreLastClosed` action
Open
#12,902 opened on Apr 13, 2022
Area-UserInterfaceHelp WantedIssue-BugPriority-3Product-Terminal
Repository metrics
- Stars
- (35,764 stars)
- PR merge metrics
- (Avg merge 27d 19h) (24 merged PRs in 30d)
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.