Fix selection render on paste (#11286)
## Summary of the Pull Request Clears selection render on paste ## PR Checklist * [x] Closes #11227 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Detailed Description of the Pull Request / Additional comments Added ```_renderer->TriggerSelection(); ``` similarly to the copy action few lines up in ```CopySelectionToClipboard``` function ## Validation Steps Performed Manually tested
This commit is contained in:
parent
cfe14e8711
commit
3b666b9517
|
@ -979,6 +979,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
|
||||||
{
|
{
|
||||||
_terminal->WritePastedText(hstr);
|
_terminal->WritePastedText(hstr);
|
||||||
_terminal->ClearSelection();
|
_terminal->ClearSelection();
|
||||||
|
_renderer->TriggerSelection();
|
||||||
_terminal->TrySnapOnInput();
|
_terminal->TrySnapOnInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue