fix: remove redundant changed-file explorer legend

This commit is contained in:
2026-10-11 19:43:08 +02:00
parent aaaa3875aa
commit 812152fd96
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -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()