Skip to content

Detect non-stock terminals and behave appropriately #1

@veganaiZe

Description

@veganaiZe

Command-prompt windows, besides PowerShell and CMD.exe, should be detected.

If the terminal window supports ANSI (but not Windows console colors) then fallback to emitting ANSI color/control codes. If the console doesn't support color at all, or it can't be determined, then fallback to a no-color plain ASCII/Unicode output.

This will eliminate garbage on the display.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions