Skip to content

"reset" doesn't seem to work #1

@ehuss

Description

@ehuss

The reset sequence ESC [ 0 m doesn't seem to do anything.

Given this string:

"\u{001b}[38;5;14mI am colored\u{001b}[0mI am after reset\n"

Results in just a single color on win7/8:

image

I would submit a PR, but I can't quite figure out what the reset code is trying to do. It sets self.reset, but then does nothing with it. It also doesn't reset expected if it is already reset, which I don't understand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions