Julia package for making keyboard-driven programs. Made for Linux, portability uncertain.
Linux | Windows | Coverage |
---|---|---|
#!/usr/bin/env julia
using KeyboardDriven
function main()
keyboarddriven()
while true
c = getkeypress()
println(string("You pressed: ", c))
if c == ctrl | CharKey('d')
break
end
end
end
main()