mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-13 16:40:06 +01:00
refactor: wip alphabet & regexes
This commit is contained in:
parent
836d5bdc97
commit
53f7084303
4 changed files with 124 additions and 97 deletions
|
|
@ -426,6 +426,9 @@ impl<'a> View<'a> {
|
|||
event::Key::Left => self.prev(),
|
||||
event::Key::Right => self.next(),
|
||||
|
||||
event::Key::Char(_ch @ 'n') => self.next(),
|
||||
event::Key::Char(_ch @ 'N') => self.prev(),
|
||||
|
||||
// TODO: use a Trie or another data structure to determine
|
||||
// if the entered key belongs to a longer hint.
|
||||
// Attempts at finding a match with a corresponding hint.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue