Append reset VT sequence before rendering the ineline prediction (#3669)

This commit is contained in:
Dongbo Wang
2023-05-02 22:20:10 -07:00
committed by GitHub
parent ae08ca6caf
commit 0032acbeaf
+1
View File
@@ -1416,6 +1416,7 @@ namespace Microsoft.PowerShell
StringBuilder currentLineBuffer = consoleBufferLines[currentLogicalLine];
currentLineBuffer
.Append(VTColorUtils.AnsiReset)
.Append(_singleton._options._inlinePredictionColor)
.Append(_suggestionText, inputLength, _renderedLength - inputLength);