This doesn't revert back to tab 0, but it also does _nothing_. Hmm.
This commit is contained in:
parent
dacff61f88
commit
84dd8ca66f
|
@ -802,6 +802,10 @@ namespace winrt::TerminalApp::implementation
|
||||||
void CommandPalette::_filterTextChanged(IInspectable const& /*sender*/,
|
void CommandPalette::_filterTextChanged(IInspectable const& /*sender*/,
|
||||||
Windows::UI::Xaml::RoutedEventArgs const& /*args*/)
|
Windows::UI::Xaml::RoutedEventArgs const& /*args*/)
|
||||||
{
|
{
|
||||||
|
if (Visibility() == Visibility::Collapsed)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (_currentMode == CommandPaletteMode::CommandlineMode)
|
if (_currentMode == CommandPaletteMode::CommandlineMode)
|
||||||
{
|
{
|
||||||
_evaluatePrefix();
|
_evaluatePrefix();
|
||||||
|
|
Loading…
Reference in a new issue