From 0032acbeafbe8c3d9507c1a2fbba592dd31fe2bc Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 2 May 2023 22:20:10 -0700 Subject: [PATCH] Append reset VT sequence before rendering the ineline prediction (#3669) --- PSReadLine/Prediction.Views.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PSReadLine/Prediction.Views.cs b/PSReadLine/Prediction.Views.cs index e4ad73024..f64e6f5bb 100644 --- a/PSReadLine/Prediction.Views.cs +++ b/PSReadLine/Prediction.Views.cs @@ -1416,6 +1416,7 @@ internal override void RenderSuggestion(List consoleBufferLines, StringBuilder currentLineBuffer = consoleBufferLines[currentLogicalLine]; currentLineBuffer + .Append(VTColorUtils.AnsiReset) .Append(_singleton._options._inlinePredictionColor) .Append(_suggestionText, inputLength, _renderedLength - inputLength);