mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +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,
|
||||
};
|
||||
|
||||
if !name.starts_with("k") {
|
||||
if !name.starts_with('k') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user