mirror of
https://github.com/PowerShell/PSReadLine
synced 2026-06-08 12:12:13 +00:00
Fix the inline prediction to not leak color (#1861)
This commit is contained in:
@@ -345,6 +345,9 @@ namespace Microsoft.PowerShell
|
||||
{
|
||||
RenderOneChar(charToRender, toEmphasize: false);
|
||||
}
|
||||
|
||||
// Reset the inline prediction color, so that the color setting doesn't leak.
|
||||
UpdateColorsIfNecessary(VTColorUtils.AnsiReset);
|
||||
}
|
||||
|
||||
if (_statusLinePrompt != null)
|
||||
|
||||
Reference in New Issue
Block a user