We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1280763 commit 7edfa93Copy full SHA for 7edfa93
1 file changed
PSReadLine/Render.cs
@@ -177,7 +177,12 @@ void UpdateColorsIfNecessary(string newColor)
177
{
178
if (!object.ReferenceEquals(newColor, activeColor))
179
180
- if (!inSelectedRegion) _consoleBufferLines[currentLogicalLine].Append(newColor);
+ if (!inSelectedRegion)
181
+ {
182
+ _consoleBufferLines[currentLogicalLine]
183
+ .Append(VTColorUtils.AnsiReset)
184
+ .Append(newColor);
185
+ }
186
activeColor = newColor;
187
}
188
0 commit comments