Skip to content

Commit

Permalink
Trigger scroll on scrolled selection (#5798)
Browse files Browse the repository at this point in the history
## Summary of the Pull Request
We accidentally missed switching one `TriggerRedrawAll` to `TriggerScroll`. This does that.

## References
#5185 - applies logic from this PR

## PR Checklist
* [X] Closes #5756

## Validation Steps Performed
Followed bug repro steps.

(cherry picked from commit 75752ae)
  • Loading branch information
carlos-zamora authored and DHowett committed May 8, 2020
1 parent 2314df8 commit 8ece137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalCore/terminalrenderdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void Terminal::SelectNewRegion(const COORD coordStart, const COORD coordEnd)

if (notifyScrollChange)
{
_buffer->GetRenderTarget().TriggerRedrawAll();
_buffer->GetRenderTarget().TriggerScroll();
_NotifyScrollEvent();
}

Expand Down

0 comments on commit 8ece137

Please sign in to comment.