Footer: nerd font clock (U+F017) for reset countdown; ASCII theme keeps 'in '
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s

This commit is contained in:
hermes committed 2026-10-02 11:07:19 +00:00
1 parent caa60c65e8
commit 9ed3140bb9
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -252,7 +252,7 @@ fn until(at: u64, now: u64) -> String {
}
}
/// ` · 5h 42% in 2h13m · week 13%`, then credits; warn at 70%, error at 90%.
/// ` · 5h 42% 2h13m · week 13%`, then credits; warn at 70%, error at 90%.
fn quota_spans(q: &hx_ai::Quota, now: u64) -> Vec<Span<'static>> {
let th = theme::t();
let mut v = vec![];
@@ -359,7 +359,7 @@ mod tests {
.iter()
.map(|s| s.content.to_string())
.collect();
assert_eq!(t, " · 5h 42% in 2h13m · week 91% in 3d4h · credits: 37.5");
assert_eq!(t, " · 5h 42% 2h13m · week 91% 3d4h · credits: 37.5");
assert_eq!(
quota_spans(&q, 10_000)[3].style.fg,
Some(ratatui::style::Color::Red)
+1 -1
View File
@@ -32,7 +32,7 @@ const UNICODE: Sym = Sym {
info: "·",
ellipsis: "…",
minus: "−",
reset: "in ",
reset: "\u{f017} ",
};
const ASCII: Sym = Sym {