Cleanup extraneous local leftover from #8194 (#8605)

Cleanup extraneous local leftover from #8194

## PR Checklist
* [x] Closes leftover from #8194
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA.
This commit is contained in:
Kiminori Kaburagi 2020-12-18 08:06:50 +09:00 committed by GitHub
parent b8e6b8e27c
commit 477c04ab94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -291,7 +291,6 @@ namespace winrt::TerminalApp::implementation
Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e)
{ {
auto key = e.OriginalKey(); auto key = e.OriginalKey();
auto const ctrlDown = WI_IsFlagSet(CoreWindow::GetForCurrentThread().GetKeyState(winrt::Windows::System::VirtualKey::Control), CoreVirtualKeyStates::Down);
if (key == VirtualKey::Up) if (key == VirtualKey::Up)
{ {