Get the current state of whether console virtual terminal sequences are handled by libuv or the console.
This function is not implemented on Unix, where it returns
Allocates and initializes a TTY handle.
The handle should be cleaned up with
eval.luv.Handle.close when no longer needed.
To be called when the program exits. Resets TTY settings to default values for the next process to take over.
Controls whether console virtual terminal sequences are processed by libuv or console. Useful in particular for enabling ConEmu support of ANSI X3.64 and Xterm 256 colors. Otherwise Windows10 consoles are usually detected automatically.
This function is only meaningful on Windows systems. On Unix it is silently ignored.