Undesired scrolling in Windows 10 enhanced console.

May 20, 2008
11,529
102
Syracuse, NY, USA
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.
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
I cannot reproduce this unless I enable the Windows 10 ANSI driver.

It doesn't have anything to do with TCC - so you can either disable ANSI in TCC, learn to live with it, or ask Microsoft to fix it. (But Microsoft probably considers it a feature.)
 
May 20, 2008
11,529
102
Syracuse, NY, USA
I cannot reproduce this unless I enable the Windows 10 ANSI driver.

It doesn't have anything to do with TCC - so you can either disable ANSI in TCC, learn to live with it, or ask Microsoft to fix it. (But Microsoft probably considers it a feature.)
It's not just TCC, it's everywhere. I was wrong earlier; it's even in CMD, though TCC, CMD, and Powershell exhibit it a little differently.

Is disabling the Win10 ANSI driver the same as using the legacy console? The Linux stuff requires the enhanced console.

I asked about it on technet. The best I got so far was "that's just the way it is" ... I'm hoping for better. If it's necessary for VT emulation, so be it (I wonder if that's how VT emulation works on "real" Linux, in xterm, say.). If not, it seems a drastic departure from 30 years of Windows consoles. If it's a "feature" they're not touting it (as they tout many features of the enhanced console).
 
Similar threads
Thread starter Title Forum Replies Date
MickeyF slightly off horizonal scrolling in TCC Support 25
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
vefatica WAD Vertical scrolling screwy in TC Support 1
Stefano Piccardi How to? keep console from scrolling Support 6
mfarah Mouse wheel scrolling in TCC. What should we expect? Support 10
S Smooth scrolling in a TCC window Support 9
E Scrolling output to single, non-scrolling line Support 13
thorntonpg windows 11 Support 12
vefatica Windows 10 themes Support 0
J Take command does not start on Windows 10 Support 3
D How to? Windows Key-Left and Windows Key-Right Support 9
Joe Caverly PYTHON from Microsoft Windows Store Support 2
D Open Windows 10 Photos app from command line Support 11
vefatica Windows Terminal ... Pop-up location Support 1
Joe Caverly Windows Terminal and @SELECT Support 13
vefatica Console popup windows don't work correctly Support 0
D Layout debugger windows Support 2
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
nickles ANSI Colors Windows 7 no longer working Support 6
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
D Which is the latest version for Windows XP? Support 2
rconn News Windows 7 Support Support 0
Joe Caverly Windows Size is 80x0 Support 2
rconn Dropping Windows 7 support in Take Command / TCC v26 Support 8
G Taskbar Windows 10 Support 7
T Windows Terminal Support 2
Joe Caverly Windows Sensor Support 5
vefatica Windows 10 and line wrapping selection? Support 6
fishman@panix.com New Problem with later Windows 10 Support 10
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
T Take Command v21 on Windows Server Support 1
Bill de Haan "Sensitive Privilege Use" in Windows security auditing Support 7
Joe Caverly Create Windows Jobs and optionally attach processes to a job Support 17
Joe Caverly What version and Windows OS are you using? Support 3
A Windows 10 This app can't run on your PC Support 2
G 4NT on Windows 10 Support 3
vefatica Windows 10 version number? Support 6
vefatica How do I see Windows 10's ANSI in action? Support 3
A List windows with titles matching given pattern? Support 2
M New "pinned" attribute (since Windows 10 1709) Support 6
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
M TCC incorrect dir output since Windows 1803 Support 6
G Version 20.11 installed on Windows 10 problems Support 9
fishman@panix.com TCC v22 & the Windows 10 Console Support 5
Per TCC/LE 14 64-bit won't start on Windows 10 Insider Preview 17063 (171213) Support 12
I tcmd versus tcc in Windows 10 Support 2
Dick Johnson DrawBox now broken in Windows 10? Support 6
CWBillow Editing in the root directory of windows 10 Support 6

Similar threads