fix: remove redundant changed-file explorer legend
This commit is contained in:
+3
-5
@@ -3550,10 +3550,8 @@ fn draw_file_list(
|
||||
));
|
||||
}
|
||||
}
|
||||
let help = if changed_files.is_some() {
|
||||
"A added · M modified · D deleted · R renamed · ^E hide".into()
|
||||
} else if picker.focused {
|
||||
let controls = if picker.root.as_os_str().is_empty() {
|
||||
let help = if picker.focused {
|
||||
let controls = if changed_files.is_some() {
|
||||
if browsing {
|
||||
"Enter · i filter · Esc close · Tab panes · ^T view"
|
||||
} else {
|
||||
@@ -3571,7 +3569,7 @@ fn draw_file_list(
|
||||
}
|
||||
};
|
||||
format!("^U clear · {navigation_hint} · {controls}")
|
||||
} else if picker.root.as_os_str().is_empty() {
|
||||
} else if changed_files.is_some() {
|
||||
"Editor focus · Tab to browse changed files".into()
|
||||
} else {
|
||||
"Editor focus · invoke explorer to browse".into()
|
||||
|
||||
Reference in New Issue
Block a user