Scrolling can be done using next powershell command:
powershell -nop -ep Bypass -c $host.UI.RawUI.WindowPosition = New-Object System.Management.Automation.Host.Coordinates(0,%NewY%)
The question is closed... Tnx.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The console fails to scroll after VT100 commands. I use standard console and need to adjust viewport in order to fit text inside it. I tried several commands without success to do any scrolls outside visible area of the console screen. For instance, what i need to do in order to scroll viewport one line up by the following commands inside batch files:
for /F "skip=1" %%a in ('"echo prompt $E %%b cmd /d /q /k"') do set "ESC=%%a"
<nul call set /p "=%%ESC%%[1;5A"
(timeout /t 15)>nul
I looked for reference many sources, but they didn't help.
Scrolling can be done using next powershell command:
powershell -nop -ep Bypass -c $host.UI.RawUI.WindowPosition = New-Object System.Management.Automation.Host.Coordinates(0,%NewY%)
The question is closed... Tnx.