Skip to content

Commit

Permalink
Allow single cell selection with Shift+Click (#8611)
Browse files Browse the repository at this point in the history
Closes #5766
  • Loading branch information
Don-Vito authored Dec 18, 2020
1 parent 01a0490 commit 8276b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalControl/TermControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ namespace winrt::Microsoft::Terminal::TerminalControl::implementation
_terminal->SetSelectionEnd(terminalPosition, mode);
_selectionNeedsToBeCopied = true;
}
else if (mode == ::Terminal::SelectionExpansionMode::Cell)
else if (mode == ::Terminal::SelectionExpansionMode::Cell && !shiftEnabled)
{
// Single Click: reset the selection and begin a new one
_terminal->ClearSelection();
Expand Down

0 comments on commit 8276b54

Please sign in to comment.