- May
- 13,802
- 211
I have a plugin command SCROLL. The command SCROLL vp (vertical/previous) does this.
Consider this command line, issued when the prompt is at the bottom of the console window.
In Win7, the net result is that the prompt is in the same place (window bottom) and the output, now missing a page, has been scrolled down to just above it.
In Win10, the net result is the same as if I had done only CLS; that is, the prompt is at the top of the window (with the old output above and missing a page).
What's the difference and how can I get the Win7 behavior in Win10?
Thanks!
Code:
SendMessage(hWndConsole, WM_VSCROLL, MAKEWPARAM(SB_PAGEUP, 0), NULL);
Consider this command line, issued when the prompt is at the bottom of the console window.
Code:
CLS & SCROLL vp
In Win7, the net result is that the prompt is in the same place (window bottom) and the output, now missing a page, has been scrolled down to just above it.
In Win10, the net result is the same as if I had done only CLS; that is, the prompt is at the top of the window (with the old output above and missing a page).
What's the difference and how can I get the Win7 behavior in Win10?
Thanks!