Age | Commit message (Collapse) | Author |
|
* uptick: 0.8.0
* update changelog
|
|
Fixes graph axis labels not being styled.
|
|
* Revert "other: revert disk usage change for now (#962)"
This reverts commit d3661c23200a66c7dc01f4e534d8d7e97dc188d2.
* some cleanup
* update help menu
* update screenshot
* update changelog wording
* Remove redundant newlines
* Use type system to ensure help constants match in size
|
|
|
|
* other: skip battery duration draw if unknown
* increase others
* update changelog
|
|
* uptick: 0.7.1
* update changelog
|
|
|
|
Fixes the "All" label being missing on small windows.
|
|
Fixes an issue where small windows would cause the battery to-X time to be cut off.
|
|
Denotes both usage and usage percentage. This also redoes the calculation for percentage to be based on the sum of avail + used, rather than on total, as otherwise we get potentially confusing percentages.
|
|
|
|
This should help make search scrolling more reliable larger Unicode characters like CJK/flag characters.
|
|
Pulls in the tui-rs grid logic so I can implement custom braille painting logic. We basically "flatten" the layering logic into a single layer by replacing resetting cells if the colour is different. This avoids the multiple allocations if we used multiple layers as intended with tui-rs.
This gives us chart results similar to the current stable version, but with a flamegraph similar to the current master branch.
|
|
|
|
Fixes an occasional gap appearing due to how rect spacing was previously calculated.
|
|
* refactor: simplify non-normalized code
* update docs
* appease clippy
* add comment
* unnormalized
* fix issues on non-Linux regarding typos/imports
|
|
* feature: add custom retention periods for data
* docs: update changelog
* docs: update docs
|
|
* feature: add pasting to search
Supports pasting events to the search bar (e.g. shift-insert, ctrl-shift-v).
* update docs
* clippy
* comment
* Update process.md
* remove keyboard event throttle
* fix issues with cjk/flag characters
|
|
* update changelog
* update mkdocs
|
|
* feature: basic sortable temp
* add shortcuts
* fix missing shortcut names in header
* update changelog
* update docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update some documentation to mention (currently unofficialish) FreeBSD support.
|
|
Adds a warning if the user is calling bottom from an environment where the output is not a terminal.
|
|
This is a simple bug fix that changes the behaviour of a scroll select
(and column select) to only update if the updated position is _within_
the bounds of the list (0 to the max index, inclusive). Prior to this,
all the implementations but the disk implementation would just bound the
change. This was both inconsistent with the disk scroll state, but also
jarring since this meant a user could click on seemingly empty space but
it would somehow click on the very last entry.
This change also unifies the scroll calculation function between all the
scroll select functions. Ideally we get rid of the intermediary
functions but that might require more refactoring than I want for this
fairly simple bug fix.
The column select scroll calculation was also changed to fit this
behaviour, but it does not use the same logic as the other scroll
states. What could be done in the future is a generic implementation for
direction (or maybe just "increment vs. decrement") to share it all.
|
|
This changes various as_ref() calls as needed in order for bottom to successfully build in Rust beta 1.61, as they were causing type inference issues. These calls were either removed or changed to an alternative that does build (e.g. as_slice()).
Functionally, there should be no change.
For context, see:
- https://github.com/ClementTsang/bottom/issues/708
- https://github.com/rust-lang/rust/issues/96074
|
|
|
|
Uptick to 0.6.8.
|
|
Uptick to 0.6.7, with appropriate updates to the README and changelog.
|
|
Adds page up/down scrolling support to respectively scroll up/down by a full page.
Note that this is mostly just to get the feature out for those interested, and is admittedly a bit rushed - I will be rewriting all logic involving event handling as part of state refactor anyways, so this will also get changed in the work done there, and therefore, I kinda just sped through this.
|
|
|
|
|
|
expected (#637)
Addresses a potential case where processing would fail if there were missing values from the CPU line of `/proc/stat`, and allows it to successfully return.
|
|
|
|
I would prefer for the project to not be under clementtsang.github.io/bottom, so let's try out CFP.
|
|
|
|
|
|
Solved by updating procfs to 0.10.1. Thanks to hasali19 for finding and looking into this!
|
|
Adds "/s" to the the network usage graph legend.
|
|
|
|
Uptick README and documentation to 0.6.3.
|
|
Swap to manually calculating the mem total and usage via procfs. The usage calculation is now:
total - (free + cached + buffers + slab_reclaimable - shmem)
This follows the same usage calculation as htop. See the PR for more details.
|
|
Fixes the accuracy of the memory widget for Linux and macOS, and uses binary prefixes instead to be more accurate.
Regarding the first part, it turns out that the way I was calculating memory usage was *slightly* incorrect for a few reasons:
- Regarding macOS, it seems like the way I was determining usage (`usage = total - available`) is not the most accurate. The better way of doing this is apparently `usage = wire + active`, where `wire` is memory always marked to stay in RAM, and `active` is memory currently in RAM. This seems to be much closer to other applications now.
- Regarding Linux, this was somewhat due to two issues - one was that I should have used heim's own built-in function call to get how much memory was *used*, and the other is that when heim reads info from `meminfo`, it reads it in *kilobytes* - however, the values are actually in *kibibytes*. As such, to get the value in kibibytes, you want to actually take it in kilobytes.
While I've filed an issue for the library, for now, I'll just manually bandaid over this. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-proc-meminfo for more info.
Both changes take more advantage of platform-specific methods, and as such, the change unfortunately adds some ugly platform-specific code blocks.
Side note, Windows Task Manager apparently (?) uses binary prefixes for the values behind the scenes, but displays decimal prefixes. As such, now that we've switched to binary prefixes, it'll "seem" like the two aren't matching anymore since the units won't match, despite the values matching.
|
|
|
|
|