Updating DoSrvPrivateReverseLineFeed with a direct call to ScrollRegion? #3797

Open
opened 2026-01-30 23:30:20 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Sep 9, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Would it not be worthwhile updating DoSrvPrivateReverseLineFeed at the same time, assuming it's just a matter of replacing the ScrollConsoleScreenBufferWImpl call with a direct call to ScrollRegion?

As for the testing, I've added a whole bunch of scrolling tests in PR #2505 which I think could easily be adapted to use 256 colors once this is merged. Although that PR is going to need to be rebased and updated first.

Originally posted by @j4james in https://github.com/microsoft/terminal/pull/2668#issuecomment-528646590


We should also make sure to add some tests for this case as well. I'll do it as a separate PR to make sure we get each one in correctly.

Originally created by @zadjii-msft on GitHub (Sep 9, 2019). Originally assigned to: @zadjii-msft on GitHub. Would it not be worthwhile updating `DoSrvPrivateReverseLineFeed` at the same time, assuming it's just a matter of replacing the `ScrollConsoleScreenBufferWImpl` call with a direct call to `ScrollRegion`? As for the testing, I've added a whole bunch of scrolling tests in PR #2505 which I think could easily be adapted to use 256 colors once this is merged. Although that PR is going to need to be rebased and updated first. _Originally posted by @j4james in https://github.com/microsoft/terminal/pull/2668#issuecomment-528646590_ <hr> We should also make sure to add some tests for this case as well. I'll do it as a separate PR to make sure we get each one in correctly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3797