microsoft/Terminal

Tab position is not restored for `restoreLastClosed` action

Open

#12.902 aberto em 13 de abr. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (3.212 forks)batch import
Area-UserInterfaceHelp WantedIssue-BugPriority-3Product-Terminal

Métricas do repositório

Stars
 (35.764 stars)
Métricas de merge de PR
 (Mesclagem média 27d 19h) (24 fundiu PRs em 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.

Guia do colaborador