fixup! Add Option for Simplified Layout

* merge structop and serde structs
This commit is contained in:
a-kenji 2021-05-10 17:42:59 +02:00
parent 9c5f0a05c1
commit ef69644f1b
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
simplified_ui: false
simplified_ui: true
keybinds:
unbind: true
normal:

View File

@ -306,8 +306,8 @@ fn init_session(
let send_pty_instructions = send_pty_instructions.clone();
let send_server_instructions = send_server_instructions;
let max_panes = opts.max_panes;
let capabilities = if let Some(ConfigCli::Options { simplified_ui }) = opts.option {
simplified_ui
let capabilities = if let Some(ConfigCli::Options(options)) = opts.option {
options.simplified_ui
} else {
config_options.simplified_ui
};