diff --git a/src/cascadia/TerminalControl/TermControl.cpp b/src/cascadia/TerminalControl/TermControl.cpp index 299b6df5124..592cd733f7f 100644 --- a/src/cascadia/TerminalControl/TermControl.cpp +++ b/src/cascadia/TerminalControl/TermControl.cpp @@ -953,8 +953,9 @@ namespace winrt::Microsoft::Terminal::TerminalControl::implementation // flow through to the terminal. // GH#6423 - don't dismiss selection if the key that was pressed was a // modifier key. We'll wait for a real keystroke to dismiss the + // GH #7395 - don't dismiss selection when taking PrintScreen // selection. - if (_terminal->IsSelectionActive() && !KeyEvent::IsModifierKey(vkey)) + if (_terminal->IsSelectionActive() && !KeyEvent::IsModifierKey(vkey) && vkey != VK_SNAPSHOT) { _terminal->ClearSelection(); _renderer->TriggerSelection();