You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: console_win.go
    path of file: ./repos/lazydocker/vendor/github.com/gdamore/tcell/v2
    
    the code of the file until where you have to start completion: //go:build windows
// +build windows

// Copyright 2022 The TCell Authors
//
// Licensed under the Apache License, Version 2.0 (the "
    
func mod2mask(cks uint32) ModMask {
	mm := ModNone
	// Left or right control
	if (cks & (0x0008 | 0x0004)) != 0 {
		mm |= ModCtrl
	}
	// Left or right alt
	if (cks & (0x0002 | 0x0001)) != 0 {
		mm |= ModAlt
	}
	// Any shift
	if (cks & 0x0010) != 0 {
		mm |= ModShift
	}
	return mm
}