mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 23:53:54 +00:00
Update Keyboard
This commit is contained in:
parent
4cf12186ab
commit
338fc9f2b4
@ -323,7 +323,7 @@ func TypeString(x string) {
|
|||||||
|
|
||||||
func TypeStringDelayed(x string, y int) {
|
func TypeStringDelayed(x string, y int) {
|
||||||
cx := C.CString(x)
|
cx := C.CString(x)
|
||||||
cy := C.C.size_t(y)
|
cy := C.size_t(y)
|
||||||
C.aTypeStringDelayed(cx, cy)
|
C.aTypeStringDelayed(cx, cy)
|
||||||
defer C.free(unsafe.Pointer(cx))
|
defer C.free(unsafe.Pointer(cx))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user