Type Win32Key

type Win32Key struct {
	VirtualKey   uint16
	ScanCode     uint16
	Unicode      uint16
	ControlState uint16
	Repeat       uint16
}

Win32Key is the Windows console INPUT_RECORD data of a key event: the virtual-key and scan codes, the UTF-16 code unit, the control-key state and the repeat count. It is set only on Windows, and a terminal forwards it only when the program enabled win32-input-mode (CSI ? 9001 h). Other platforms leave it zero.