Skip to content

output: detect environments less likely to have multibyte characters available #273

Open
@LawnGnome

Description

@LawnGnome

Some environments predate Unicode, and we should avoid using emoji and box drawing characters if we can in those scenarios.

Specifically, we probably want to detect these:

  • Really old TERM settings, like vt100.
  • Windows Console (but not Windows Terminal), which could look at whether the SESSIONNAME environment variable is Console.

This should be a new field in capabilities that we can then do sensible things with, along with possibly swapping out the standard emoji and spinner variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions