As an example, the one you see when PowerShell starts up: ## bad  ## good 
Activity
DHowett-MSFT commentedon Jan 3, 2020
Looks like only WT...
zadjii-msft commentedon Jan 4, 2020
Is this a recent regression? I would have thought it might be #3271 but that hasn't merged yet.
DHowett-MSFT commentedon Jan 4, 2020
Very. The current selfhost build from 12/31 does not exhibit this issue. Maybe related to the audit mode refactoring?
j4james commentedon Jan 5, 2020
I believe the problem is in the
TerminalDispatch::CursorPositionmethod here:terminal/src/cascadia/TerminalCore/TerminalDispatch.cpp
Lines 40 to 44 in d711d73
If the
SizeTToShortcalls succeed, then theFAILEDtests are going to be false, and theRETURN_BOOL_IF_FALSEwill force the method to abort.DHowett-MSFT commentedon Jan 5, 2020
Oof. Thanks.
Fix flipped sense in TerminalDispatch::CursorPosition
Fix flipped sense in TerminalDispatch::CursorPosition (#4113)