Skip to content

Color spills in windows terminal #1250

Open
@ZeeWanderer

Description

Text coloring spills in Windows Terminal. It looks like 'clear' is not submitted to end the coloring.

The output of thefuck --version:

The Fuck 3.31 using Python 3.10.0 and PowerShell 5.1.22000.282

Your system (Debian 7, ArchLinux, Windows, etc.):

Windows 11 22000.348 x64

How to reproduce the bug:

1) type puthon in and hit enter
2) type 'fuck' in and hit enter
3) confirm the suggestion
4) python output is red

The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute export THEFUCK_DEBUG=true in your shell before The Fuck):

thefuck.log

If the bug only appears with a specific application, the output of that application and its version:

image

Anything else you think is relevant:

image
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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