Ncurses backend: use character pattern instead of string

This commit is contained in:
Alexandre Bury 2017-12-07 14:47:23 -08:00
parent 24838969f5
commit d0c30ded21

View File

@ -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;
} }