Commit graph

183 commits

Author SHA1 Message Date
Clement Tsang
7475f24a4e
feature: Add hook to properly clean up in the case of a kill call
Adds a hook to properly clean up the program in case the program gets SIGTERM'd.
2020-08-21 16:00:14 -04:00
Clement Tsang
1dc9346d3b
refactor: Remove ps calls
Removes and refactor ps calls that... should have not been there in the first place.
2020-08-21 01:33:12 -04:00
Clement Tsang
3c373d7129
feature: Add appox. total mem as an option for processes and basic mem
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.
2020-08-17 15:41:37 -04:00
Clement Tsang
08e49b63c1
refactor: Revert tui upgrade to 0.10
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).
2020-08-16 04:25:59 -04:00
Clement Tsang
d0cc6078df
deps: Update dependencies, drop MSRV
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.
2020-08-11 20:22:39 -04:00
Clement Tsang
30bdaa6073
feature: add full command to process widget
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.
2020-08-07 04:29:20 -04:00
ClementTsang
cc1ed4fbfd uptick: update Cargo.lock to 0.4.5 2020-07-08 15:43:28 -04:00
ClementTsang
be6f824a43 clippy: clippy error due to redundant conversion
Fixes a redundant usize to usize conversion.
2020-07-06 02:36:24 -04:00
ClementTsang
121d483b50 revert: Revert "deps: update cargo.lock"
This reverts commit f8127465b8.
2020-07-06 02:25:14 -04:00
ClementTsang
f8127465b8 deps: update cargo.lock 2020-07-06 02:09:10 -04:00
ClementTsang
3d8a8b4e85 deps: update typed-builder to 0.6.0 2020-05-19 21:17:01 -04:00
Clement Tsang
12e4777d97
change: remove slash, change scroll behaviour on cpu
- 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
2020-05-16 22:38:19 -04:00
ClementTsang
a074808a00 deps: update cargo.lock 2020-05-15 00:37:10 -04:00
ClementTsang
2ae2ebd6d8 deps: update sysinfo 2020-05-14 22:22:29 -04:00
ClementTsang
be6fb5fc4d deps: update cargo.lock 2020-05-11 23:53:43 -04:00
Clement Tsang
7b5685bf44
refactor: remove redundant empty checks in graphs
Now that the fix for empty data is patched in tui, these checks are
redundant.
2020-05-11 01:32:39 -04:00
ClementTsang
56d6771d1b refactor: re-enable tui-rs linear interpolation 2020-05-10 17:01:45 -04:00
Clement Tsang
a71d991695
refactor: avoid using max checks, use saturating_sub instead 2020-05-07 01:09:24 -04:00
ClementTsang
453c10e7c5 docs: update README and CHANGELOG for 0.4.1 2020-05-05 17:56:01 -04:00
ClementTsang
c8afe0d4f8 chore: support MSRV of 1.40.0 2020-05-04 17:45:11 -04:00
ClementTsang
6e81fbeebf change: more advanced searching and filtering 2020-05-02 16:01:07 -04:00
ClementTsang
6be5ce55a2 chore: update Cargo.lock 2020-04-29 21:53:19 -04:00
Clement Tsang
2faf3c6592
refactor: revert linear interpolation until tui fix comes 2020-04-28 16:44:10 -04:00
ClementTsang
24f5717125 cargo: switch to personal fork of tui-rs for now to deal with subtraction bug in lines 2020-04-26 20:18:29 -04:00
Clement Tsang
cf48561777
feature: add battery health percentage 2020-04-26 00:11:34 -04:00
ClementTsang
bc571588e4 refactor: Update tui to 0.9; refactor with new features 2020-04-18 18:05:41 -04:00
Clement Tsang
163f6823a2
feature: Add battery widget (#120) 2020-04-16 20:06:50 -04:00
ClementTsang
99516ca143 chore: Delete docs folder and update lock 2020-04-09 15:28:43 -04:00
dependabot-preview[bot]
28c27272d7
deps: sysinfo from 0.12.0 to 0.13.0 (#112) 2020-04-09 11:13:52 -04:00
ClementTsang
502b821144 chore: Add Cargo.lock back in 2020-04-08 19:44:29 -04:00
ClementTsang
9c6bfe84a2 Update .gitignore. 2019-09-04 16:55:00 -04:00
ClementTsang
2b8676ecf8 Added TODO list, and started more work. 2019-09-04 16:53:05 -04:00
ClementTsang
a1923e198c Setup. 2019-09-03 23:27:25 -04:00