summaryrefslogtreecommitdiffstats
path: root/src/config/keymap.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-04 11:49:23 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-04 11:49:23 -0400
commit5a820a7a275bf5cacd2c545c0a0ac533789ec349 (patch)
tree7c12d22bd8b2c59c6125643386a6c7e12bbcfac8 /src/config/keymap.rs
parent37fa8efbd8691d89fcd22727e3720621fff3680c (diff)
fix cursor resetting to top when action is completed
- remove unused code - clean up compiler warnings
Diffstat (limited to 'src/config/keymap.rs')
-rw-r--r--src/config/keymap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/keymap.rs b/src/config/keymap.rs
index 5fd79cd..4b44b2d 100644
--- a/src/config/keymap.rs
+++ b/src/config/keymap.rs
@@ -70,7 +70,7 @@ fn insert_keycommand(
if keys.len() == 1 {
if let Some(s) = key_to_i32(&keys[0]) {
match map.entry(s) {
- hash_map::Entry::Occupied(entry) => {
+ hash_map::Entry::Occupied(_) => {
eprintln!("Error: Keybindings ambiguous");
exit(1);
}