Commit 661dff6adb

661dff6adb382dde9f6f6c5af4cd0f74f9e5b7ce

parent: 5cf88f6107

Unregistered key

Ulyssa <git@ulyssa.dev> · 2026-09-01 00:07 UTC
committer: <noreply@github.com>

Fix crash from value underflow while rendering timeline (#661)

Layout: unified · split

src/message/mod.rs +1 −1
@@ -1173,7 +1173,7 @@ impl Message {
11731173 fmt.push_spans(
11741174 Line::from(vec![
11751175 Span::styled("(edited)", style.fg(Color::Gray)),
1176 space_span(fmt.width() - 8, style),
1176 space_span(fmt.width().saturating_sub(8), style),
11771177 ]),
11781178 style,
11791179 &mut text,