-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Labels
Description
It's great that Set-PSReadlineOption -Colors supports ANSI escape codes on Unix systems. However, it could support them better. These codes support more than just colors.
For example, my Paramter color setting is:
`e[2;3;255;102m
This sets not just color, but also makes the parameter italic. Unfortunatly, PSReadLine doesn't clear formatting between words, so every word after that parameter it also in italics.
The workaround is to put the Clear Formatting escape code (`e[0m) at the start of every single symbol type's color setting, which also means I have to use ANSI for every color setting.
A better solution would be for PSReadLine to automatically write `e[0m between words on Unix systems.
Jaykul, nickcox and ExE-Boss