Skip to content

Commit 0032acb

Browse files
authored
Append reset VT sequence before rendering the ineline prediction (#3669)
1 parent ae08ca6 commit 0032acb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PSReadLine/Prediction.Views.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,7 @@ internal override void RenderSuggestion(List<StringBuilder> consoleBufferLines,
14161416
StringBuilder currentLineBuffer = consoleBufferLines[currentLogicalLine];
14171417

14181418
currentLineBuffer
1419+
.Append(VTColorUtils.AnsiReset)
14191420
.Append(_singleton._options._inlinePredictionColor)
14201421
.Append(_suggestionText, inputLength, _renderedLength - inputLength);
14211422

0 commit comments

Comments
 (0)