diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 15:07:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 15:07:30 -0600 |
| commit | 34bbd63bfbe39fa17dfa5b00628c966a1776b6cb (patch) | |
| tree | 96ef417cc7c9e9fbdd407ea8ba955b9a518db5af /linuxstatus/timer.go | |
| parent | 5dee2af78434191a27987acfb02902a11f81067c (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.go | 5 |
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) +} |
