dowesupportvt

command
v0.0.0-...-f103fc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 5 Imported by: 0

README

Detecting VT support
====================

Three possible outcomes:
 - VT emu supported
 - VT emu not supported
 - error occurred during testing

For testing whether it's supported:
 - try to set ENABLE_VIRTUAL_TERMINAL_PROCESSING
   - if no error returned -> VT emu is supported
   - if an error is returned, cast it to a syscall.Errno
     - if it is not a syscall.Errno -> error occurred during testing
		 - if it is one and it's value != 87 -> error occurred during testing
		 - if it is one and it's value == 87 -> V emu not supported

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL