Skip to content

Commit

Permalink
Revert "Fix for search selections highlight going backward when the s…
Browse files Browse the repository at this point in the history
…election wraps to next line (#16691)"

This reverts commit b520c80.
  • Loading branch information
DHowett committed Apr 22, 2024
1 parent a2ab91f commit efd1dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalCore/TerminalSelection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ std::vector<til::inclusive_rect> 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->bottom };
const auto end = til::point{ selection->right, selection->top };
const auto adj = _activeBuffer().GetTextRects(start, end, _blockSelection, false);
for (auto a : adj)
{
Expand Down

0 comments on commit efd1dd3

Please sign in to comment.