Skip to content

Paging corrupts colors of restored output #54

@mjcarman

Description

@mjcarman

Using less to paginate content (that either doesn't fit on a single screen, or would fit but -F wasn't specified) corrupts the colors of previous output.

Before:

Image

After:

Image

The prompts are drawn by oh-my-posh, which is configured to use colors which are not part of the color scheme selected in Windows Terminal. It appears that when less restores/redraws the previous output, it remaps colors to the nearest color from the color scheme.

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