Skip to content

What should $env:TERM be for the new Windows console? #12174

@rkitover

Description

@rkitover

Is there any standard for what $env:TERM should be for native Windows console apps supporting the new console capabilities?

For Neovim, I discovered that setting:

$env:TERM = 'vtpcon'

or leaving it unset enables support for the new console.

Setting:

$env:TERM = 'xterm-truecolor'

also seems to work correctly, and supports 24 bit color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-QuestionFor questions or discussionNeeds-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingResolution-AnsweredRelated to questions that have been answered

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions