You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix for #53 switched the "freeze" technique from SelectAll to Mark for the new Windows 10 console. The rationale was that Mark didn't move the cursor in that mode, making it acceptable.
Unfortunately, it still does interfere in a way -- when the Mark command ends, the cursor is restored to its pre-Mark position, even if it has been moved in the meantime. This is causing noticeable problems in PowerShell and cmd.exe.
PowerShell:
When pressing Return, sometimes the prompt duplicates like this:
Additionally, if it is impossible to fit the entire screen buffer on the
current monitor, detect this condition uising the
GetLargestConsoleWindowSize API and make the console window as large as
possible. This is suboptimal for full-screen console programs (e.g. Far
Manager), but because the scrolling-mode scraper scrapes the screen buffer
rather than the visble window, the smaller-than-desired window frequently
has no noticeable effect.
Revert the use of MARK to freeze the new Windows 10 console. Use
SELECT_ALL again.
Fixes#61Fixes#79
Breaks #53 again
The fix for #53 switched the "freeze" technique from SelectAll to Mark for the new Windows 10 console. The rationale was that Mark didn't move the cursor in that mode, making it acceptable.
Unfortunately, it still does interfere in a way -- when the Mark command ends, the cursor is restored to its pre-Mark position, even if it has been moved in the meantime. This is causing noticeable problems in PowerShell and
cmd.exe
.PowerShell:
When pressing Return, sometimes the prompt duplicates like this:
cmd.exe
:When tab completing choices, sometimes the line has junk at the end:
Here's a test script useful for demonstrating the problem. Build
misc/SetCursorPos.exe
, then run the batch file, then start Mark or SelectAll:The text was updated successfully, but these errors were encountered: