Fix: Enter not being pressed for newlines
This commit is contained in:
parent
d096438b74
commit
565f782ccf
@ -70,7 +70,9 @@ func main() {
|
|||||||
println("Sending keys!")
|
println("Sending keys!")
|
||||||
for _, line := range textlines {
|
for _, line := range textlines {
|
||||||
k.Type(line)
|
k.Type(line)
|
||||||
|
time.Sleep(15 * time.Millisecond)
|
||||||
k.Enter()
|
k.Enter()
|
||||||
|
time.Sleep(15 * time.Millisecond)
|
||||||
}
|
}
|
||||||
println("\ndone!")
|
println("\ndone!")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user