Skip to content

Colors messed up after any 'fuck' command #772

@hugo-vrijswijk

Description

@hugo-vrijswijk

The output of thefuck --version:

The Fuck 3.25 using Python 3.6.4

Your shell and its version:

PowerShell v5.1.16299.98

Your system:

Windows 10 (1709)

How to reproduce the bug:

Using any fuck command in PowerShell messes up the colors. See image. Calling thefuck is fine
image

These are my debug settings:

DEBUG: Run with settings: {'alter_history': True,
 'debug': True,
 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
 'exclude_rules': [],
 'history_limit': None,
 'instant_mode': False,
 'no_colors': False,
 'priority': {},
 'repeat': False,
 'require_confirmation': True,
 'rules': [<const: All rules enabled>],
 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
 'user_dir': WindowsPath('C:/Users/hugod/.config/thefuck'),
 'wait_command': 3,
 'wait_slow_command': 15}

And I have set $env:PYTHONIOENCODING = "utf-8" in my $PROFILE

Happens in both ConEmu, Windows console host and in Administrator sessions of both. Hope this is enough information for a start

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions