aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-12 13:32:39 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-12 15:27:28 +0200
commit776a2c5151f768bfa40fda7471258527c106dd85 (patch)
treeea9c4f5b93f5f9ca9a517dd146f69b1817bc0a60 /src/client
parentdocs(changelog): compatibility update (diff)
downloadsl0ppij-776a2c5151f768bfa40fda7471258527c106dd85.tar.gz
sl0ppij-776a2c5151f768bfa40fda7471258527c106dd85.tar.xz
sl0ppij-776a2c5151f768bfa40fda7471258527c106dd85.zip
Fix Simplified Ui
Propagate the config now, in all the places, as opposed to fallback to a default.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 5fb40096..3dfb24aa 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -15,7 +15,7 @@ use crate::common::{
errors::{ClientContext, ContextType},
input::config::Config,
input::handler::input_loop,
- input::options::{ConfigOptions, Options},
+ input::options::Options,
os_input_output::ClientOsApi,
thread_bus::{SenderType, SenderWithContext, SyncChannelWithContext},
};
@@ -46,8 +46,7 @@ pub fn start_client(mut os_input: Box<dyn ClientOsApi>, opts: CliArgs, config: C
let mut command_is_executing = CommandIsExecuting::new();
- let config_options: ConfigOptions =
- Options::from_cli(&config.options, opts.option.clone()).into();
+ let config_options = Options::from_cli(&config.options, opts.option.clone());
let full_screen_ws = os_input.get_terminal_size_using_fd(0);
os_input.connect_to_server();