Handle "slow escape" keypress events
Registered by
Paul "LeoNerd" Evans
circle-fe-term currently cheats its way around the Tickit.pm internals, to hook the 'on_key' method to insert some extra logic around Escape keys. On receipt of an Escape key it draws an "ESC-" indicator, and suppresses emission of that event for now. If another key arrives within a timeout period it applies the Alt- modifier. On a timeout it emits the real Escape key. Either way, it then removes the indicator.
It's impossible currently for an application to handle this in the C library, because it couldn't inject a new key event.
Blueprint information
- Status:
- Complete
- Approver:
- Paul "LeoNerd" Evans
- Priority:
- High
- Drafter:
- Paul "LeoNerd" Evans
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- v0.1
- Started by
- Paul "LeoNerd" Evans
- Completed by
- Paul "LeoNerd" Evans
Related branches
Related bugs
Sprints
Whiteboard
Possible solutions:
* provide "tentative escape" events
* provide an API to allow applications to inject new events in as if received from the term - now DONE with tickit_
(?)