Closed
Description
As of Windows 10 build 18298, the new “Terminal” settings allow setting default ForegroundColor and BackgroundColor values which are separate from the 16 color "ConsoleColor" palette.
PSReadLine doesn't use the ANSI/VT escape sequence for default when erasing text, but instead overwrites the line with $Host.UI.RawUI.BackgroundColor
(e.g. when pressing backspace, or when using the arrow keys to navigate through the history buffer with commands of different lengths -- worse when some have multiple lines).
PSReadLine needs to start using the "default" color, instead of specifying a color.
Metadata
Metadata
Assignees
Labels
No labels