File: utils_windows.go

package info (click to toggle)
golang-github-atomicgo-keyboard 0.2.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 168 kB
  • sloc: makefile: 4
file content (7 lines) | stat: -rw-r--r-- 114 bytes parent folder | download
1
2
3
4
5
6
7
package keyboard

import "syscall"

func closeInput() {
	syscall.CancelIoEx(syscall.Handle(inputTTY.Fd()), nil)
}