Y
Hacker News
new
|
ask
|
show
|
jobs
by
nunull
3971 days ago
I'd then go with
robot.keys.enter()
(since enter is a function, not a constant) and make it chainable by returning `robot.keys`.
robot.keys.ctrl().enter()
1 comments
swsieber
3971 days ago
You'd probably want something slightly different than keys - at least some way to different between key presses and hold the keys down at the same time.
link