summaryrefslogtreecommitdiffstats
path: root/src/key_command/impl_comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/key_command/impl_comment.rs')
-rw-r--r--src/key_command/impl_comment.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/key_command/impl_comment.rs b/src/key_command/impl_comment.rs
index a7f373f..4635cdf 100644
--- a/src/key_command/impl_comment.rs
+++ b/src/key_command/impl_comment.rs
@@ -1,4 +1,4 @@
-use crate::config::option::{LineMode, SortType};
+use crate::config::option::{LineMode, SortType, TabBarDisplayMode};
use crate::io::FileOperationOptions;
use super::{Command, CommandComment};
@@ -117,6 +117,15 @@ impl CommandComment for Command {
Self::Filter { .. } => "Filter directory list",
+ Self::SetTabBarDisplayMode(mode) => match mode {
+ TabBarDisplayMode::Number => "TabBar only display with number ( 1 | 2 | 3 )",
+ TabBarDisplayMode::Directory => {
+ "TabBar only display with directory ( dir1 | dir2 | dir3 )"
+ }
+ TabBarDisplayMode::All => {
+ "TabBar display with numbar and directory ( 1: dir1 | 2: dir2 )"
+ }
+ },
Self::TabSwitch { .. } => "Switch to the next tab",
Self::TabSwitchIndex { .. } => "Switch to a given tab",
Self::Help => "Open this help page",