Extend GetConsoleMode or add an new API set, to allow guest programs to distinguish CONHOST and Windows Terminal #1528

Open
opened 2026-01-30 22:29:37 +00:00 by claunia · 0 comments
Owner

Originally created by @reli-msft on GitHub (Jun 5, 2019).

An equivalance to $TERM but more powerful:

HRESULT GetTerminalSupport(HANDLE hConsole, LPCWSTR featureName, INT *pSupport);

featureName may include "FontFallback", "Emoji", "Ligatures", etc.

Originally created by @reli-msft on GitHub (Jun 5, 2019). An equivalance to `$TERM` but more powerful: ```cpp HRESULT GetTerminalSupport(HANDLE hConsole, LPCWSTR featureName, INT *pSupport); ``` `featureName` may include "FontFallback", "Emoji", "Ligatures", etc.
claunia added the Issue-FeatureResolution-DuplicateArea-InteropProduct-Conpty labels 2026-01-30 22:29:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1528