Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

History recall turns off Quick-Edit

May
12,834
163
All my consoles have quick-edit enabled. With v20, when I recall a command (up-arrow) QE is turned off for as long as the recalled command remains UNALTERED on the command line. Here are two pics of the same console. The first is normal ... just started. The second is after pressing up-arrow.

upload_2016-8-16_12-38-5.png



upload_2016-8-16_12-39-26.png
 
TCC doesn't set/reset the quick edit flag.

Is this behavior new to v20?
Yes, it's new to v20. WinDbg shows that when <Up> is pressed, TCC calls SetConsoleMode() with mode 0x0110. Previous versions don't call SetConsoleMode() in this situation. That's a rather peculiar mode, apparently a combo of the undocumented ENABLE_AUTO_POSITION (0x0100) and ENABLE_MOUSE_INPUT (0x0010); that'll surely clobber QE. After that, any other keystroke produces a call to SetConsoleMode() with mode 0xC7 (normal here, including ENABLE_EXTENDED_FLAGS, 0x80 and ENABLE_QUICK_EDIT, 0x40).
 
At least for my system (Win 10 x64 Windows 10 [Version 6.3.14393] 1607), this is no more the case after I have updated from v20.00.15 to v20.00.17 ...

Thanks!
 

Similar threads

Back
Top