mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-27 11:03:03 +03:00
fixes #448
* annotate a change in the keybindings more explicitly * log error reading key bindings into log
This commit is contained in:
parent
307a83ba48
commit
cfedbd1b36
@ -69,4 +69,7 @@
|
||||
delete_branch: ( code: Char('D'), modifiers: ( bits: 1,),),
|
||||
push: ( code: Char('p'), modifiers: ( bits: 0,),),
|
||||
fetch: ( code: Char('f'), modifiers: ( bits: 0,),),
|
||||
|
||||
//removed in 0.11
|
||||
//tab_toggle_reverse_windows: ( code: BackTab, modifiers: ( bits: 1,),),
|
||||
)
|
||||
|
@ -157,7 +157,13 @@ impl KeyConfig {
|
||||
}
|
||||
|
||||
pub fn init() -> Self {
|
||||
Self::init_internal().unwrap_or_default()
|
||||
match Self::init_internal() {
|
||||
Ok(v) => v,
|
||||
Err(e) => {
|
||||
log::error!("failed loading key binding: {}", e);
|
||||
Self::default()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user