atomicgo.dev/keyboard (go): Package keyboard can be used to read key presses from the keyboard, while in a terminal application. It's crossplatform and keypresses can be combined to check for ctrl+c, alt+4, ctrl-shift, alt+ctrl+right, etc. It can also be used to simulate (mock) keypresses for CI testing.  Works nicely with https://atomicgo.dev/cursor  ## Simple Usage  ## Advanced Usage  ## Simulate Key Presses (for mocking in tests)
Keywords: atomicgo|cli|go|golang|keyboard|terminal