From f89ba90467d8898f957722b588b697f51053fc94 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 6 Jan 2024 15:07:30 -0600 Subject: [PATCH] more cleanups after removing old window Signed-off-by: Jeff Carr --- linuxstatus/timer.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linuxstatus/timer.go b/linuxstatus/timer.go index cd82f49..17130f3 100644 --- a/linuxstatus/timer.go +++ b/linuxstatus/timer.go @@ -29,3 +29,8 @@ func sortLines(input string) string { tmp = strings.TrimRight(tmp, "\n") return tmp } + +func (ls *LinuxStatus) SetSpeedActual(s string) { + if ! ls.Ready() {return} + ls.speedActual.Set(s) +}