mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-23 02:03:07 +02:00
refactor: Format
This commit is contained in:
parent
78c20463cd
commit
425d1355fe
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ impl KeyConfig {
|
|||
|
||||
pub fn update(&mut self, data: &str) -> Result<()> {
|
||||
// Set key to value in config file, if config file contains it
|
||||
let update_key = | key: &mut KeyCode, key_name: &str | {
|
||||
let update_key = |key: &mut KeyCode, key_name: &str| {
|
||||
let config_name = format!("{KEYCONFIG_PREFIX}.{key_name}");
|
||||
let key_from_config = Self::get_config(&config_name, data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue