Skip to content

Commit 424bb2c

Browse files
Update
1 parent 447a806 commit 424bb2c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ Term = "22787eb5-b846-44ae-b979-8e399b8463ab"
99
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
1010

1111
[compat]
12-
Dates = "1.11.0"
12+
Dates = "1"
13+
julia = "1"

src/TerminalSystemMonitor.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ using Dates: Dates, Day, DateTime, Second
44
using UnicodePlots
55
import Term # this is required by UnicodePlots.panel
66

7-
export main
8-
97
idle_time(info::Sys.CPUinfo) = Int64(info.cpu_times!idle)
108

119
busy_time(info::Sys.CPUinfo) = Int64(
@@ -142,6 +140,4 @@ function main(dummyargs...)
142140
unhidecursor() # unhide cursor
143141
end
144142

145-
@isdefined(var"@main") ? (@main) : exit(main(ARGS))
146-
147143
end # module TerminalSystemMonitor

0 commit comments

Comments
 (0)