summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 15:07:30 -0600
committerJeff Carr <[email protected]>2024-01-06 15:07:30 -0600
commitf89ba90467d8898f957722b588b697f51053fc94 (patch)
tree02a8a18f9d749a0405d131fefa5fc85a7c50b963
parentb8991ccf586159044c6a17b87654f10860fd22cb (diff)
more cleanups after removing old window
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--linuxstatus/timer.go5
1 files changed, 5 insertions, 0 deletions
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)
+}