close one tab by press ctrl-w and hide the bar (#628)
close one tab by press ctrl-w and hide the bar fix #614
This commit is contained in:
parent
32f4f7133c
commit
5dc7d0e843
|
@ -671,6 +671,7 @@ namespace winrt::TerminalApp::implementation
|
|||
_tabView.SelectedIndex((focusedTabIndex > 0) ? focusedTabIndex - 1 : 1);
|
||||
_tabView.Items().RemoveAt(focusedTabIndex);
|
||||
_tabs.erase(_tabs.begin() + focusedTabIndex);
|
||||
_UpdateTabView();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue