diff --git a/src/cascadia/TerminalCore/TerminalSelection.cpp b/src/cascadia/TerminalCore/TerminalSelection.cpp index fd440470f86..ae1db3507b4 100644 --- a/src/cascadia/TerminalCore/TerminalSelection.cpp +++ b/src/cascadia/TerminalCore/TerminalSelection.cpp @@ -83,7 +83,7 @@ std::vector Terminal::_GetSearchSelectionRects(Microsoft::C for (auto selection = lowerIt; selection != upperIt; ++selection) { const auto start = til::point{ selection->left, selection->top }; - const auto end = til::point{ selection->right, selection->top }; + const auto end = til::point{ selection->right, selection->bottom }; const auto adj = _activeBuffer().GetTextRects(start, end, _blockSelection, false); for (auto a : adj) {