public static VirtualTerminalSupport EnableVirtualTerminalSequences(
StandardStream stream
)
Public Shared Function EnableVirtualTerminalSequences (
stream As StandardStream
) As VirtualTerminalSupport
Dim stream As StandardStream
Dim returnValue As VirtualTerminalSupport
returnValue = VirtualTerminal.EnableVirtualTerminalSequences(stream)
public:
static VirtualTerminalSupport^ EnableVirtualTerminalSequences(
StandardStream stream
)
Virtual terminal sequences are supported if the specified stream is not redirected, and the TERM environment variable is not set to "dumb". On Windows, enabling VT support has to succeed. On non-Windows platforms, VT support is assumed if the TERM environment variable is defined.
If you also want to check for a NO_COLOR environment variable, use the EnableColor(StandardStream) method instead.
For StandardStreamInput, this method does nothing and always returns .