feat(commandline): allow history to never fade when fade time is 0

This commit is contained in:
yztink committed 2026-10-03 11:35:39 -07:00
1 parent 3f54f2f494
commit 384519f2cc
3 files changed
+34 -21

No files matched your search

+2 -2
View File
@@ -848,7 +848,7 @@ pub fn view_window<'a>(
.step(250)
.width(Fill),
text(if prefs.commandline_fade_ms <= 0 {
crate::t!("Off").into_owned()
crate::t!("Never").into_owned()
} else {
format!("{:.1} s", prefs.commandline_fade_ms as f32 / 1000.0)
})
@@ -861,7 +861,7 @@ pub fn view_window<'a>(
.push(Space::new().height(6))
.push(
text(crate::t!(
"How long overlay history lines stay visible; 0 skips them (COMMANDLINEFADETIME)."
"How long overlay history lines stay visible; 0 means never fade (COMMANDLINEFADETIME)."
))
.size(11)
.width(sizing.width),