diff options
author | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-04-11 12:10:32 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-04-11 12:10:32 -0400 |
commit | feb0dfc20171ba5f0fe2b7defc3452744dd9e2d0 (patch) | |
tree | 0c8f07f408e3df539ad99af9cd2d7c8cd6111746 /bar.go | |
parent | 203575b1f97501fd190bea67c11552f0635faa8d (diff) |
Change where loop occurs
Move the main program loop to main.go instead of in the bar itself
Diffstat (limited to 'bar.go')
-rw-r--r-- | bar.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -13,8 +13,7 @@ func (b Bar) Display() string { for _, mod := range b.Modules { s, _ := mod.GetInfo() - val += s - time.Sleep(b.RefreshRate) + val += "[" + s + "]" } return val |