Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 425f4877dec8b4ee2f0796241e54b8a2f71a6c61)
|
|
(#398)
So it seems that tui-rs doesn't like rendering my CPU bars if the height is exactly 1. It needs at least 2. I have no idea why, this is probably something weird with how I render.
This, of course, breaks when there is only one row to report (i.e. with a dual core setup in #397).
The workaround switches the gap between the CPU and mem/net parts to 0, and increases the CPU's draw height by 1, only when the height is otherwise 1 (so the draw height is now at least 2). This does have the side effect of including an extra line to the side borders, but I think it's fine.
(cherry picked from commit d48e6cd7e080432daeca54a0aff9271c60a45107)
|
|
Fixes a bug where you could make the sorting arrow disappear in the mem column if you did:
1. Go to proc widget
2. Switch to memory values from %
3. Press `m`
(cherry picked from commit e30518bf6213bb99d333f836ecaeb252f967d41e)
|
|
(cherry picked from commit bfdaa09e3a397df08ff45c44022537195bab0c2b)
|
|
Use heim on ARM targets again where appropriate.
(cherry picked from commit 682f6493d1b0cd7e138b734cf5e789d81530bda5)
|
|
|
|
Turns out there was yet another bug with the CPU colour allocation. I had forgotten to use the same index calculation for the "all" position.
|
|
|
|
Fixes some performance regressions and forgotten cleanup.
Changes to attempt to improve performance to match 0.4.x:
- Remove `trace!` and `--debug` for now. These were a significant hog. Removing this dropped initial memory usage by about half.
- Add additional cleaning step for `pid_mapping` during process harvesting. This should hopefully improve memory usage as time goes on.
- Slightly change how we do sorting to hopefully be a bit more optimal? This was just an easy change to make that I spotted.
- Fix broken cleaning child thread task.
|
|
Fixes another change breaking states from showing in processes.
|
|
Adds the option to enable an "out of" indicator for scrollable table widgets (using --show_table_scroll_position).
|
|
Fixes colour theming for batteries being flipped.
|
|
|
|
|
|
|
|
|
|
Adds a --tree flag that defaults to tree mode for the process widget.
|
|
|
|
Adds a new flag, --mem_as_value (and its corresponding config option, mem_as_value = true), which defaults to showing process memory values by their amount rather than percentage.
|
|
Removes the random automatically generated colours for the CPU metrics. This was not supported in all terminal emulators, and would cause some of them to break (namely macOS Terminal).
Instead we'll default to colours we can be more certain will work and loop through them as required. Users can still override these colours with their own.
|
|
Adds collapsible trees to the tree mode for processes. These can be toggled via the + or - keys and the mouse by clicking on a selected entry.
|
|
Adds some default colour choices to choose from.
|
|
Fixes a bug with CPU spacing on basic mode.
|
|
Fixes the CPU basic widget showing incorrect data due to an incorrect offset when displaying the data.
|
|
|
|
Fixes styling for dialog titles. Cherry picked from commit 06573becfa3c089ac4b2a17c9443f84b6a5af3e8.
|
|
Minor update to update some dependencies and remove some traces.
|
|
This was the cause of some process names getting cut off and looking weird for Linux (and Linux only, I'm not directly responsible for the other OSes).
This also adds spaces in between command line flags. Before, they were usually separated by either spaces (which looked fine) or null terminators (which meant it looked like something was broken).
|
|
Update to tui-rs, which fixes #255, as well as some miscellaneous things like updating changelogs and travis.
|
|
Refactors tui-rs usage to the new 0.11.0 release. This release also fixes the highlighting bug from #249, and now, expanding a widget no longer overrides the widget title colour.
This commit also introduces #255, but that seems to be easy to bandaid so hopefully it will get fixed soon?
|
|
Initial refactorings and additions to support in-app config.
- Refactor our current options logic to support in-app configs. That is, we can write to a config file with our changes now.
- The default action when creating a new config file is to leave it blank. (TBD and for now, not sure on this one)
- Previously, we would set everything in a config file on startup; now we need to read from the config TOML struct whenever.
- `C` keybind is now occupied for configs.
- `no_write` option to never write to a config file.
|
|
Fix for an index out-of-bounds by resizing to a smaller terminal just after the program got the terminal size, but right before the terminal started drawing.
|
|
|
|
Adds a tree process view to bottom.
Currently uses a pretty jank method of column width setting, should get fixed in #225.
|
|
Fixes sorting by count being available, but doing nothing. This fix makes it sortable.
|
|
You can now filter out disks and temp sensors by name via config.
|
|
Update temperature sensors in Linux to use labels + names rather than just names.
|
|
Some more updates to arguments and documentation.
|
|
Adds mouse support to the application, to move between widgets and click on elements.
List of things to added:
- Click to move between widgets
- Click to move between widgets in basic mode
- Click on widget entries
- Ability to disable mouse if you don't like it, I guess
|
|
Fixes a bug where you could move down in a process widget even if search was disabled while in basic mode.
|
|
Allows the network widget graph to grow/shrink with current data, rather than using a static size.
|
|
|
|
|
|
|
|
Allow `e` to toggle expansion, rather than only allowing it to open.
|
|
Allows searching by state (`state = sleep`), and adds more keyword variants for searching: `cpu%`, `mem%`, `r/s`, `w/s`, matching the columns.
|
|
Adds a way to display the memory value as a column in the processes widget and the basic memory widget, rather than just the percentage.
|
|
Fixes a bug caused by incorrectly reading the `/proc/{pid}/stats` file. Due to splitting by whitespace, the string parsing was read incorrectly if the process also contained spaces.
|
|
This would cause the dd fields to get stuck due to never resetting.
|
|
This feature allows any column to be sortable.
This also adds:
- Inverting sort for current column with `I`
- Invoking a sort widget with `s` or `F6`. Close with same key or esc.
And:
- A bugfix in regards the basic menu and battery widget
- A lot of refactoring
|