summaryrefslogtreecommitdiff
path: root/linuxstatus/timer.go
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
commit34bbd63bfbe39fa17dfa5b00628c966a1776b6cb (patch)
tree96ef417cc7c9e9fbdd407ea8ba955b9a518db5af /linuxstatus/timer.go
parent5dee2af78434191a27987acfb02902a11f81067c (diff)
more cleanups after removing old window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/timer.go')
-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)
+}