Tries to detect whether the current process is running in a known CI terminal that supports ANSI/VT colors.
[NullableContext((byte)2)]
public static bool TryDetectKnownCapabilities([NotNullWhen(true)] scoped out TerminalCapabilities? capabilities)
The detected capabilities.
true if a known terminal was detected; otherwise false.