Skip to content

ANSI color control sequences should optionally be scrubbed from shell completions #144

Closed
@bckohan

Description

@bckohan

As of typer 0.13.1 ansi color code sequences appear in shell completions sometimes. Zshell, fish and powershell have good support for this in shell completions but bash support is shaky and the codes may render literally.

shellcompletion complete should honor the --no-color flag and this should be enabled by default in the bash installation scripts. Installation should also toggle --no-color usage on/off based on if the parameter was supplied during install.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions