summaryrefslogtreecommitdiffstats
path: root/src/key_command/impl_appexecute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/key_command/impl_appexecute.rs')
-rw-r--r--src/key_command/impl_appexecute.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/key_command/impl_appexecute.rs b/src/key_command/impl_appexecute.rs
index c369dcc..7616fb3 100644
--- a/src/key_command/impl_appexecute.rs
+++ b/src/key_command/impl_appexecute.rs
@@ -128,9 +128,11 @@ impl AppExecute for Command {
Self::ToggleHiddenFiles => show_hidden::toggle_hidden(context),
+ Self::SetTabBarDisplayMode(mode) => {
+ tab_bar_mode::set_tab_bar_display_mode(context, mode)
+ }
Self::TabSwitch { offset } => {
- tab_ops::tab_switch(context, *offset)?;
- Ok(())
+ tab_ops::tab_switch(context, *offset).map_err(|e| e.into())
}
Self::TabSwitchIndex { index } => tab_ops::tab_switch_index(context, *index),
Self::Help => show_help::help_loop(context, backend, keymap_t),