diff options
author | Canop <cano.petrole@gmail.com> | 2020-04-14 10:54:15 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-04-14 14:39:24 +0200 |
commit | 2e9fb3295d7ee797d01c1f573c15c9a7e915d9ae (patch) | |
tree | 4661c2ea4fb6cb19c753de531a41222da59d688a /src/conf.rs | |
parent | eef0c44dfc9a8d5ae121f9d97eee45cf494f34d2 (diff) |
focus dir in new panel with tab
The new panels feature is still a work in progress.
With this commit also comes the start of a big verb refactoring.
Diffstat (limited to 'src/conf.rs')
-rw-r--r-- | src/conf.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/conf.rs b/src/conf.rs index c5a814a..7349a29 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -6,7 +6,7 @@ use { errors::ConfError, keys, skin, - verb_conf::VerbConf, + verb::VerbConf, }, crossterm::style::Attribute, directories::ProjectDirs, @@ -137,7 +137,7 @@ impl Conf { ); continue; } - self.verbs.push(VerbConf { + let verb_conf = VerbConf { invocation, execution, key, @@ -145,8 +145,10 @@ impl Conf { description: string_field(verb_value, "description"), from_shell, leave_broot, - confirm: bool_field(verb_value, "confirm"), - }); + }; + debug!("\nread verb conf: {:?}\n", &verb_conf); + + self.verbs.push(verb_conf); } } // reading the skin |