- May
- 13,547
- 197
I mentioned a console anomaly in the plugins forum and subsequently determined that it only occurred in the Windows 10 enhanced console. Here's another, even more annoying. It also involves the console scrolling when it's not intended (or wanted). Here are steps to reproduce it. In a Windows 10 enhanced console (i.e., not legacy) ...
1. Make sure there's a command in the recent history that, when recalled with <Up>, will wrap onto a second line.
2. Issue a command whose output will fill at least a page of the console screen buffer, leaving the new prompt at the bottom of the window. This one ought to work: IPCONFIG /ALL
3. At this point, the prompt should be at the bottom of the window. With the mouse or Alt-Down scroll the console so the prompt is in the middle (vertically) of the window.
4. Now <Up> to recall the long (more than a line) command mentioned earlier.
When that command is recalled, the window scrolls so that the prompt is back at the bottom. That's annoying and it doesn't happen in the legacy (or Win7) console.
It doesn't happen in CMD.
It does happen in Powershell ... even worse. There, recalling any command (not necessarily a long one) will cause the scrolling.
1. Make sure there's a command in the recent history that, when recalled with <Up>, will wrap onto a second line.
2. Issue a command whose output will fill at least a page of the console screen buffer, leaving the new prompt at the bottom of the window. This one ought to work: IPCONFIG /ALL
3. At this point, the prompt should be at the bottom of the window. With the mouse or Alt-Down scroll the console so the prompt is in the middle (vertically) of the window.
4. Now <Up> to recall the long (more than a line) command mentioned earlier.
When that command is recalled, the window scrolls so that the prompt is back at the bottom. That's annoying and it doesn't happen in the legacy (or Win7) console.
It doesn't happen in CMD.
It does happen in Powershell ... even worse. There, recalling any command (not necessarily a long one) will cause the scrolling.