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
Press Enter a number of times until the prompt is at the last line of the terminal window
Copy and paste the following command to the terminal: $instMods = (Get-InstalledModule | ConvertTo-Html | pandoc12.exe --from=html-auto_identifiers-native_spans-native_divs --to=gfm-gfm_auto_identifiers) -replace [reg] $env:HOMEPATH ,"`$env:HOMEPATH"
Move cursor to the closing bracket ] of the [reg].
Press Ctrl+Space to trigger the menu completion
Move the selection to RegisterPSSessionConfigurationCommand
Here is the GIF for reproducing this:
Expected behavior
The menu completion should work correctly when moving selection around, even though necessary screen scrolling is needed.
Actual behavior
As is shown, the menu completion rendering is broken in this case, where screen buffer scrolling was needed when initially rendering the menu.
The text was updated successfully, but these errors were encountered:
ghost
added
the
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
label
Nov 4, 2021
daxian-dbw
added
Issue-Bug
It either shouldn't be doing this or needs an investigation.
and removed
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
labels
Nov 4, 2021
// if the menu has moved, we need to clear the lines under it
if(bufferEndPoint.Y <PreviousTop)
PreviousTop should be set with the actual Top value before changing the Top value. And to decide whether menu has moved, we should compare the current Top with PreviousTop, instead of using bufferEndPoint.Y, which is a snapshot value that doesn't get updated when screen buffer scrolls.
Prerequisites
Exception report
No exception report.
Screenshot
Environment data
Steps to reproduce
$instMods = (Get-InstalledModule | ConvertTo-Html | pandoc12.exe --from=html-auto_identifiers-native_spans-native_divs --to=gfm-gfm_auto_identifiers) -replace [reg] $env:HOMEPATH ,"`$env:HOMEPATH"
]
of the[reg]
.RegisterPSSessionConfigurationCommand
Here is the GIF for reproducing this:
Expected behavior
The menu completion should work correctly when moving selection around, even though necessary screen scrolling is needed.
Actual behavior
As is shown, the menu completion rendering is broken in this case, where screen buffer scrolling was needed when initially rendering the menu.
The text was updated successfully, but these errors were encountered: