Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Adds an option to disable the temperature widget for, e.g., VPSes #186

Open
wants to merge 441 commits into
base: master
Choose a base branch
from

Conversation

xxxserxxx
Copy link

This adds a ---no-temps argument to disable the temps widget. I don't like this pattern, but would like to discuss how you want to move forward with this before I do anything more complex (e.g., --disable <widget>). Honestly, the right way to do this is #111, and spending a lot of time thinking of other patterns for this is probably not productive, so this may be a reasonable stopgap.

BTW, I was serussell (and contributed the battery widget). I deleted my github account, and will probably do the same again with this one eventually.

xxxserxxx and others added 29 commits May 5, 2020 08:13
This wasn't gopsutil's issue; it was a change in x/sys/util that broke the API.

This reverts commit 2401d63.
…mit is broken because of the merge from master.
…the build flags were causing compile failures on other target OSes.
Update changelog.

Clears up the FreeBSD dup2 patch issues; the build flags were causing compile failures on other target OSes.
ctII and others added 30 commits July 22, 2022 15:21
adds page up and page down keys to main.go to scroll page up and scroll page down
similar to behavior found in htop, and slightly more intuitive
add page up and page down to for scrolling pages
Adjust nvme temperature from Kelvins to Celsius
Add scoop installation method
This is required for clean darwin compilation. Older versions fail with:

```
../go/pkg/mod/github.com/shirou/[email protected]+incompatible/cpu/cpu_darwin_cgo.go:13:5: error: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
1 error generated.
```
...to get the device temperature. This API abstracts differences between
different device interfaces (SATA vs NVMe vs ...)
gotop is available in Nixpkgs
… function.

Something in sorting was broken at some point, maybe during a Go version
upgrade? That code hasn't changed in a while. While fixing the code, I rewrote
the `numbered.Less()` function. It's shorter, and I think it's clearer, but in
addition to being correct now it's also about 10% faster than the original.
Add Persian/Farsi support to gotop for issue #120
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet