summaryrefslogtreecommitdiffstats
path: root/src/help/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/help/utils.rs')
-rw-r--r--src/help/utils.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/help/utils.rs b/src/help/utils.rs
index b94b8ba..7fe8011 100644
--- a/src/help/utils.rs
+++ b/src/help/utils.rs
@@ -11,7 +11,7 @@ fn get_input_short_name(input: &str) -> String {
}
}
-pub fn get_list_normal_mode_help_lines(config: &Config) -> [(String, &str); 22] {
+pub(super) fn get_list_normal_mode_help_lines(config: &Config) -> [(String, &str); 22] {
[
(get_input_short_name(config.input_move_up.as_str()), "Move selection up"),
(
@@ -98,7 +98,7 @@ pub fn get_list_normal_mode_help_lines(config: &Config) -> [(String, &str); 22]
]
}
-pub fn get_list_visual_mode_help_lines(config: &Config) -> [(String, &str); 14] {
+pub(super) fn get_list_visual_mode_help_lines(config: &Config) -> [(String, &str); 14] {
[
(get_input_short_name(config.input_move_up.as_str()), "Move selection up"),
(
@@ -153,7 +153,7 @@ pub fn get_list_visual_mode_help_lines(config: &Config) -> [(String, &str); 14]
]
}
-pub fn get_max_help_description_length(lines: &[(String, &str)]) -> usize {
+pub(super) fn get_max_help_description_length(lines: &[(String, &str)]) -> usize {
let mut max_length = 0;
for (_, desc) in lines {
let len = UnicodeSegmentation::graphemes(*desc, true).count();