Fix the inline prediction to not leak color (#1861)

This commit is contained in:
Dongbo Wang
2020-10-07 16:56:42 -07:00
committed by GitHub
parent 081bde62e2
commit 0c649bf88f
+3
View File
@@ -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)