Skip to content

faint color attribute "leaks" to the whole command lineΒ #4

@daxian-dbw

Description

@daxian-dbw

Environment

PS version: 7.0.3
PSReadline version: 2.1.0-rc1
os: 10.0.19041.561 (WinBuild.160101.0800)
PS file version: 7.0.3.0
HostName: ConsoleHost (Windows Terminal)
BufferWidth: 110
BufferHeight: 30

Exception report

Steps to reproduce

run

Set-PSReadLineOption -Colors  @{Command = "`e[2;93m"}

and then type a command line with some parameters

Expected behavior

only the command gets the faint color

Actual behavior

the faint color attribute is never reset which results in the hole command line being faint

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions