88 Commits

Author SHA1 Message Date
Omar Polo
5841570123
followed golint & gofmt advices 2019-02-18 14:09:36 +01:00
Omar Polo
175cfef2e1
implemented Temp.update for openbsd 2019-02-18 11:13:10 +01:00
Omar Polo
a1c99bb10f
add openbsd to build tag 2019-02-18 10:51:34 +01:00
whuang8
d6008391c3 Remove -ww from macOS ps call 2019-02-10 08:16:12 -06:00
whuang8
60b913a93e Fix inability to display command names with whitespace in MacOS
Co-authored-by: Fiona Thompson <fionabronwen@gmail.com>
2019-02-09 16:43:09 -06:00
Caleb Bassi
e8f77eef12 Move drawille-go into termui folder 2019-02-06 02:08:58 -08:00
Caleb Bassi
8081067cc2 Fix drawille-go dependency (#105) 2019-02-06 01:34:17 -08:00
Caleb Bassi
5fb804f336 Fork distatus/battery to fix plist import (#105) 2019-02-06 01:20:22 -08:00
Caleb Bassi
0614dbfbfb Fix cropped process names on OSX (#47) 2019-02-05 14:41:04 -08:00
Caleb Bassi
d9607af034 Refactor 2019-02-03 21:04:57 -08:00
Caleb Bassi
dbf25cdd85 Fix temperatures not showing (#101, #103)
Sometimes a temperature sensor file in `/sys/class/hwmon/hwmon*/temp*_*` will return 'ENETDOWN: Network is down' when being read for some reason, which gopsutil propogates up to gotop. gopsutil still returns a slice of valid temperatures when it errors, so we can render those instead of ignoring the return value.
2019-02-03 20:26:57 -08:00
Caleb Bassi
c5e9511157 Fix Battery widget panic (#100) 2019-01-30 15:20:09 -08:00
Caleb Bassi
daf06909db Fix possible concurrent map write in cpu widget 2019-01-26 14:10:49 -08:00
Caleb Bassi
ecd9a32230 Fix temperature position with '-f' flag specified (Close #97) 2019-01-26 14:01:20 -08:00
Caleb Bassi
9235982f70 Fix 78aed0d 2019-01-25 20:25:41 -08:00
Caleb Bassi
78aed0d9bf Replace panic calls with logging in widgets 2019-01-25 20:04:37 -08:00
Caleb Bassi
6d3425b394 Add -c flag to ps on OSX and FreeBSD 2019-01-25 15:35:21 -08:00
Caleb Bassi
fdb4d5d5ff Remove old comments 2019-01-23 22:09:02 -08:00
Caleb Bassi
c48984563e Switch to master branch of gizak/termui after its update 2019-01-23 21:23:35 -08:00
Caleb Bassi
cf00920745 Fix data race for CPU widget 2019-01-19 20:46:33 -08:00
Caleb Bassi
97f490be80 Fix data race between rendering and updating 2019-01-19 20:34:19 -08:00
Caleb Bassi
523a190e66 Refactor 2019-01-19 19:37:31 -08:00
Caleb Bassi
c34782d45f Upgrade gizak/termui@v3-wip 2019-01-14 19:47:44 -08:00
Caleb Bassi
e74e48424a Refactor 2019-01-12 16:40:05 -08:00
Sean E. Russell
2a6a479d11 Merge https://github.com/cjbassi/gotop
Disable all battery code if battery not selected in options.
Refactors widgetCount to localize use.
2019-01-01 11:04:31 -06:00
Caleb Bassi
2934d6fd48 Fix sparkline title overflowing 2019-01-01 02:29:14 -08:00
Caleb Bassi
5d17121510 Add statusbar (Close #72) 2019-01-01 02:15:31 -08:00
Caleb Bassi
ff62b55133 Fix race condition panic 2018-12-31 18:37:47 -08:00
Caleb Bassi
2e48524cc9 Port to termui 2.0 2018-12-31 18:23:45 -08:00
Caleb Bassi
b73fe56e94 Add widget files from cjbassi/termui 2018-12-31 15:01:13 -08:00
Sean E. Russell
5ee4b4a978 Adds battery support
Cleans up mod file; adds flag for battery.

Adds documentation; fixes missing color sets for battery.
2018-12-26 23:15:44 -06:00
Caleb Bassi
6188e24c73 Fix unnecessary goroutine 2018-12-18 18:13:18 -08:00
Caleb Bassi
625b16c916 Close #85 2018-12-13 21:59:45 -08:00
Caleb Bassi
23b961bcfa Fix panics on error for Mem widget 2018-12-13 21:32:22 -08:00
Caleb Bassi
f608f636ce Use old 'ps' parsing method on freebsd 2018-12-13 19:24:34 -08:00
Caleb Bassi
a28e8117d7 Add freebsd build flag 2018-12-13 19:13:28 -08:00
Caleb Bassi
45a252f2d9 Revert changes to 'ps' on Darwin 2018-12-13 13:55:58 -08:00
Caleb Bassi
c1e7986ed0 Fix stderr redirection on arm64 2018-12-12 18:18:43 -08:00
Caleb Bassi
001d5ca835 Change Disk column widths 2018-12-12 17:35:55 -08:00
Caleb Bassi
f5ad5e8441 Fix double counting network data with VPN (Close #61) 2018-12-10 14:43:01 -08:00
Caleb Bassi
defda4a38a Remove 'mapper' from disk name 2018-12-10 11:20:32 -08:00
Caleb Bassi
67e0fedbed Don't show Docker containers in Disk widget 2018-12-10 11:10:28 -08:00
Caleb Bassi
2043837fd8 Fix ignoring of loop disk devices 2018-12-09 22:04:43 -08:00
Caleb Bassi
7e9de44b3a Cleanup logic to trim 'dev' from disk partition 2018-12-09 21:11:03 -08:00
Caleb Bassi
d712195a6e Fix panic on partition error
- Ignore partitions that cause errors, instead of panicking due to a nil
dereference
- Fixes errors caused by insufficient permissions of certain devices
2018-12-08 00:25:56 -08:00
Caleb Bassi
23fdf43936 Fix ps whitespace parsing errors 2018-12-07 12:33:46 -08:00
Caleb Bassi
44ed6e8752 Fix process name cropping 2018-12-07 10:42:23 -08:00
Caleb Bassi
1aa5eea24c Fix cpu usage percents panic 2018-12-05 20:05:57 -08:00
Caleb Bassi
cfcb489862 Add more logging for Disk widget 2018-12-04 22:34:45 -08:00
Caleb Bassi
a3c934e86b Update gopsutil for #41 2018-12-04 21:53:53 -08:00