In Windows 10 build 18298, are a number of changes were made to the built-in console subsystem of the operating system. There is a new "terminal" tab in console option that allows adjusting several new options for the Command Prompt, PowerShell, and WSL. There, you can disable the ability to scroll a console window below the last line's output, like it works in Linux terminal emulators.
Windows Console subsystem is utilized by certain built-in apps of Windows 10, including the Command Prompt, PowerShell, and WSL. Starting with Windows 10 Build 18298, which represents the upcoming 19H1 feature update, also known as version 1903, you will find a set of new options of the console.
These settings are "experimental", because in certain scenarios, it's possible that they might not behave like you would expect them to, may not make it into the next OS release, and may change completely in the final version of the OS.
By default, you can scroll a console window down, below the last line's output until you reach the end of its buffer. By disabling the Scroll Forward option, you can make the Windows console behave like a Linux terminal, that doesn't allow scrolling below the last line's output.
It will be set for the specific shortcut you used to open a console instance. E.g. if you have multiple command prompt shortcuts, you can set the Scroll-Forward option for each of them individually. This way, PowerShell, WSL, and the command prompt may have their own independent settings.
To change the terminal colors of the console window in Windows 10,
- Open a new command prompt window, elevated command prompt, PowerShell, or WSL.
- Right-click on the title bar of its window and select Properties from the context menu.
- Switch to the Terminal tab.
- Under Terminal Scrolling, enable the option Disable Scroll-Forward.
- Change Cursor Size for Console in Windows 10
- Change Terminal Colors of Console Window in Windows 10
- Change Cursor Color in Console in Windows 10
- Change Cursor Shape in Console in Windows 10