Skip to content

Commit

Permalink
Update renderer on SwitchSelectionEndpoint (#13435)
Browse files Browse the repository at this point in the history
## Summary of the Pull Request
In #13370, we should be notifying the renderer that the selection changed. Minor oversight and simple fix.

## References
#4993
#13370
Closes #13413

(cherry picked from commit 66ecb0b)
Service-Card-Id: 83892665
Service-Version: 1.15
  • Loading branch information
carlos-zamora authored and DHowett committed Jul 5, 2022
1 parent 81f2d3a commit 9e05dcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cascadia/TerminalControl/ControlCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
if (_terminal->IsSelectionActive())
{
_terminal->SwitchSelectionEndpoint();
_updateSelectionUI();
return true;
}
return false;
Expand Down

0 comments on commit 9e05dcd

Please sign in to comment.