ClementTsang
b33ea11af2
bug: fix query not working for or, refactor a bit
2020-05-21 21:40:40 -04:00
ClementTsang
948c1206e9
chore: wrote better debugging printing for queries
...
This should make reading completed queries a bit easier for debugging
2020-05-21 16:55:51 -04:00
ClementTsang
dcaef7ebc4
bug: fix incorrect parsing for process i/o calc
...
Cause was checking the wrong indices for values. I thought I
had taken in a vector of strings that were just byte values,
but they actually contained the labels... oops.
2020-05-21 14:03:00 -04:00
Clement Tsang
cf1d41c83a
feature: add back states to unmerged processes
2020-05-19 17:58:17 -04:00
ClementTsang
e2e1ac3006
change: always highlight selected cpu
2020-05-18 23:36:58 -04:00
Clement Tsang
e6379982f1
refactor: reduce unchecked type conversions to usize
2020-05-18 23:34:50 -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
2ae2ebd6d8
deps: update sysinfo
2020-05-14 22:22:29 -04:00
ClementTsang
549d61b836
bug: add extra check for process cpu value to be >= 0
2020-05-13 00:15:41 -04:00
ClementTsang
a8ed838726
refactor: use a nicer match statement in one spot
2020-05-11 22:52:35 -04:00
ClementTsang
ce563542ee
force SWAP and RAM labels to show even if at 0
2020-05-11 22:48:37 -04:00
Clement Tsang
137e3cea5f
bug: disk displays nothing on if IO fails to match
...
Obvious on macOS.
2020-05-11 22:34:35 -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
90272777f7
change: hide table gap if widget height is small
2020-05-09 16:23:15 -04:00
ClementTsang
e6181d4aa4
change: hide time legend if window gets too small
2020-05-09 14:54:23 -04:00
ClementTsang
b253d0153b
change: reallow spaces to represent "and"
2020-05-08 15:34:46 -04:00
Clement Tsang
a71d991695
refactor: avoid using max checks, use saturating_sub instead
2020-05-07 01:09:24 -04:00
ClementTsang
9152ba3281
docs: make process help text consistent with README
2020-05-05 18:57:38 -04:00
Kim Brose
095fb7e54e
Update constants.rs
2020-05-05 20:45:43 +02:00
ClementTsang
38f4967a8a
bug/change: removed space as and for now
2020-05-04 23:44:33 -04:00
ClementTsang
c8afe0d4f8
chore: support MSRV of 1.40.0
2020-05-04 17:45:11 -04:00
ClementTsang
a56156a8f2
bug: swap 'and' and 'or' calls around for correct precedence
2020-05-04 00:27:21 -04:00
ClementTsang
2a32bbac3b
change: separated search and process widgets again
2020-05-04 00:03:11 -04:00
ClementTsang
83a4a15cd5
bug: fix broken case if quotes surrounded paren
2020-05-03 00:54:33 -04:00
ClementTsang
0986b96056
bug: made the regex error one line in search
2020-05-03 00:08:18 -04:00
ClementTsang
73c16e259d
docs: update with search details
2020-05-02 23:46:07 -04:00
ClementTsang
8307b06c56
bug: fix bug with multiple tokens
2020-05-02 21:50:35 -04:00
ClementTsang
e12c2f5212
change: add byte units to search
2020-05-02 19:24:19 -04:00
ClementTsang
5e874eab77
refactor/bug: moved search logic; fix quoted words
2020-05-02 18:36:18 -04:00
ClementTsang
ecc111b21a
refactor: fix clippy errors
2020-05-02 17:39:48 -04:00
ClementTsang
6e81fbeebf
change: more advanced searching and filtering
2020-05-02 16:01:07 -04:00
ClementTsang
bb45763b39
feature: Add alt-h and alt-l to move left/right within widget
2020-04-30 15:29:36 -04:00
ClementTsang
ecd5a003cf
change: Use e key instead to maximize; rename to expand
2020-04-29 23:52:25 -04:00
ClementTsang
edd5cff12d
change: merge search and process widgets together
2020-04-29 23:43:49 -04:00
ClementTsang
dacf8b1abb
bug: fix broken basic table arrows on other widgets
2020-04-29 23:12:49 -04:00
ClementTsang
70779c078d
docs: update help and README for bindings
2020-04-28 22:46:48 -04:00
Andy
e850d3d2a8
Kill dialog: vim navigation ( #134 )
...
Add `hjkl` as navigation keys in kill dialog.
Closes #133
2020-04-28 17:43:15 -04:00
Clement Tsang
2faf3c6592
refactor: revert linear interpolation until tui fix comes
2020-04-28 16:44:10 -04:00
ClementTsang
78e3c37947
refactor: fix clippy errors
2020-04-27 16:40:45 -04:00
ClementTsang
15dba2e6cf
bug: fix empty widget in layout
2020-04-27 16:20:36 -04:00
ClementTsang
8e4f6a3a02
feature: add battery flag
2020-04-27 15:56:39 -04:00
ClementTsang
8534d42f1b
refactor: separate state to different file
2020-04-27 13:48:56 -04:00
ClementTsang
e33dbbd350
clippy: remove redundant clone
2020-04-26 20:08:02 -04:00
ClementTsang
80548457f9
refactor: cleaned up some of the concurrent parts
2020-04-26 19:53:26 -04:00
Clement Tsang
cf48561777
feature: add battery health percentage
2020-04-26 00:11:34 -04:00
Clement Tsang
3a6f7a6750
refactor: changed how we set help text on resize and init
2020-04-25 17:32:31 -04:00
Clement Tsang
863e780f2f
change: add scrolling to help menu
2020-04-24 19:17:58 -04:00
ClementTsang
9fe6e7d4d2
clippy: use suggested to_string and dereferencing
2020-04-23 15:51:35 -04:00
ClementTsang
a6b48921ee
refactor: hoist painter creation up to avoid having to clean if fail
2020-04-23 15:33:31 -04:00