Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around Linux keycodes by mapping ^_ to ^7
On Linux terminal, keycodes for `^/`, `^_`, and `^7` are the same. The parsed key depends on the library that handles the input. In case of Zee, it uses Zi framework for terminal based applications, which uses crossterm library to get key events. For more details, see crossterm issues: - crossterm-rs/crossterm#540 - crossterm-rs/crossterm#685 To check if it reproduces on your machine, you can try ``` showkey --ascii ``` - Crossterm - https://github.com/crossterm-rs/crossterm - Zi - https://github.com/mcobzarenco/zi
- Loading branch information