Open
Description
Proposal Details
VT sequences processing support was added in Windows 10 build 14361.
I propose to add a new API in x/term package for detect if VT sequences are available.
Adding support for VT sequences for Windows is not trivial, so an official implementation may be useful.
As an example, see the implementation in the Zig standard library:
- https://github.com/ziglang/zig/blob/0.14.0/lib/std/fs/File.zig#L249
- https://github.com/ziglang/zig/blob/0.14.0/lib/std/fs/File.zig#L287
See also the official Windows documentation:
Currently there is a change request in https://go-review.googlesource.com/557295.