-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: handle Esc-R for checking direct messages by moving key post-pr…
…ocessing code to new vkey_process() & vkey() * Rename vkey() to vkey_process() * enum VkeyMode: * Add VKEYMODE_CR for handling \r * vkey(): * Add parameter fgetch() for getting input from other functions * Handle \r & 0x7f, which were previously handled in igetch() * vkey(): * Invoke vkey_process() with igetch() as input function * Handle Ctrl-L, Ctrl-R, & Esc-R, which were previously handled in igetch() * Esc-R (added in 998d345) now actually works * igetch(): * Removed unused IM_TRAIL & IM_VKEY_ESC
- Loading branch information
1 parent
7b362c9
commit 1e9d59d
Showing
2 changed files
with
69 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters