mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #20] Design and implement a keyboard trigger library #21
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mum4k on GitHub (Apr 23, 2018).
Original GitHub issue: https://github.com/mum4k/termdash/issues/20
This library would receive a stream of keyboard presses and trigger a callback on the configured key or key combination.
This would ease the development of widgets or code that uses keyboard input and wants to support multi-key shortcuts.
@mum4k commented on GitHub (Apr 20, 2019):
Made obsolete, we now do what termbox does and define separate Key types for shortcuts like Ctrl-A.
Support for the Alt modifier is outstanding, but can come later.