Skip to content

v3: color output doesn't work properly on Windows #343

@wdscxsj

Description

@wdscxsj
  • Task version: 3.0.0-preview4
  • Windows version: Windows 10 Enterprise 1909 64-bit

Taskfile.yml:

# https://taskfile.dev

version: '3'

tasks:
  default:
    cmds:
      - winver

Color output doesn't work in cmd.exe and powershell.exe:

1

Works well in ConEmu and Terminal:

2

With version: '2', it works well in ConEmu and Terminal (with no color), but still fails in cmd.exe and powershell.exe:

3

Maybe mattn's colorable is a good solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    os: windowsIssues that affect users on Windows.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions