Age | Commit message (Collapse) | Author |
|
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.
|
|
Gives better and less jank responsiveness when resizing the window in narrow sizes for the cpu basic widget.
|
|
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 an incorrect offset affecting the CPU colour when scrolling.
|
|
Removes some unwrap_or_else calls when unwrap_or would suffice that were caught by clippy nightly.
|
|
|
|
Minor refactor to remove redundant `as_ref()` calls.
|
|
Fixes styling for dialog titles. Cherry picked from commit 06573becfa3c089ac4b2a17c9443f84b6a5af3e8.
|
|
|
|
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.
|
|
|
|
Just a simple rename.
|
|
Update how we position and generate column widths to look less terrible. This also adds truncation w/ ellipsis to the columns, and for processes, the state will automatically shrink to a short form (just a character) if there isn't enough space.
|
|
Adds a tree process view to bottom.
Currently uses a pretty jank method of column width setting, should get fixed in #225.
|
|
You can now filter out disks and temp sensors by name via config.
|
|
Fixes a bug where you could click on a widget when dd's dialog was open.
|
|
Refactoring and updating of error messages + tests to be more useful.
|
|
Fixes a bug, and also allows `Ctrl-F` and `/` to work in the sort widget.
|
|
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
|
|
Allows the network widget graph to grow/shrink with current data, rather than using a static size.
|
|
Fixes searching by command name being broken.
|
|
Fixes grouping not working properly after some refactoring done in 0.4.6.
|
|
|
|
Removes the kill command call and instead uses libc to manage killing processes.
|
|
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.
|
|
Reverts tui upgrade, there are some bugs and issues - namely, issues with rendering text.
We can revert this commit when those bugs are dealt with (should be fine after 0.10.1, tested building from the repo).
|
|
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
|
|
|
|
This also slightly improves how we generate the widths/heights to be
less... terrible.
Note this is not done, unfortunately. This requires tui-rs' wrapped
paragraph height PR to land and release so I can properly calculate the
height offsets.
See https://github.com/fdehau/tui-rs/pull/349 for details.
|
|
Update dependencies to most recent versions if applicable. Refactor to deal with breaking changes. Drop MSRV due to dependency issues, just support stable and later.
|
|
This PR adds the ability to toggle between the process name and process path. Currently, this uses `P` as the modifier key.
Currently, the longer command names are dealt with by forcefully changing the width of the columns, but this can be handled in a more graceful manner IMO.
|
|
Fixes a redundant usize to usize conversion.
|
|
|
|
|
|
|
|
- Removal of the old slash-space-to-hide behaviour of CPU widget
- Scrolling onto a specific entry will only show that entry
- Showing average is now default
|
|
|
|
Now that the fix for empty data is patched in tui, these checks are
redundant.
|
|
|
|
|
|
|
|
|
|
|
|
|