mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 11:16:03 +00:00
Ncurses backend: use character pattern instead of string
This commit is contained in:
parent
24838969f5
commit
d0c30ded21
@ -460,7 +460,7 @@ fn initialize_keymap() -> HashMap<i32, Event> {
|
|||||||
None => continue,
|
None => continue,
|
||||||
};
|
};
|
||||||
|
|
||||||
if !name.starts_with("k") {
|
if !name.starts_with('k') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user