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

Open
opened 2026-01-31 05:07:30 +00:00 by claunia · 0 comments
Owner

Originally created by @rkitover on GitHub (Jan 15, 2022).

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.

Originally created by @rkitover on GitHub (Jan 15, 2022). 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: ```powershell $env:TERM = 'vtpcon' ``` or leaving it unset enables support for the new console. Setting: ```powershell $env:TERM = 'xterm-truecolor' ``` also seems to work correctly, and supports 24 bit color.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16411