Fix sff panic deadlock, share the evdev probe, assorted review cleanups

This commit is contained in:
flamingcow
2026-08-31 15:51:52 -07:00
parent 10d97ee82a
commit e4731c94cd
13 changed files with 205 additions and 272 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ func (d *display) drawHeader(phy phyDisplay, hv histView, measuring bool,
func (d *display) drawColHeaders() {
y := d.headerH + 8
d.textRightAt(d.small, d.resetX+d.resetW, y, "RESET", uiMuted)
hdr := "LAST 90 S"
hdr := fmt.Sprintf("LAST %d S", int(histSpan/time.Second))
hw := len([]rune(hdr)) * d.small.cellW
d.small.draw(d.fb, d.cellsX+(d.cellsW-hw)/2, y-d.small.capTop, hdr, uiMuted)
d.textRightAt(d.small, d.nowX+d.nowW, y, "NOW", uiMuted)