Commit graph

141 commits

Author SHA1 Message Date
ClementTsang
34b84d6b04 Add explicit lifetime parameters as per 2018 idioms. 2020-02-24 21:10:12 -05:00
ClementTsang
a756c44c66 Support average cpu colour separately from others. Redid documentation. 2020-02-23 00:30:00 -05:00
ClementTsang
67c6984406 Pretty sure I fixed scroll resizing... 2020-02-19 19:56:18 -05:00
ClementTsang
5131859ab8 Fix scroll problem with resizing/maximizing. 2020-02-18 23:02:52 -05:00
ClementTsang
47b78d22f8 Sanity checks as we approach release... bug patching:
* Fix for freeze not working (due to change with how we eat data)
* Fix for typos with newlines
* Made help box larger
* Made dd box larger
2020-02-17 23:48:27 -05:00
ClementTsang
2f59af412d Tons of refactoring and fixes.
* Fixed a bunch of previously introduced bugs.  Oops.
* Some minor refactoring/efficiency changes that *should* help.  Should.
2020-02-17 22:59:35 -05:00
ClementTsang
6dc78a0c0c Update how cpu disabling field looks. 2020-02-17 19:25:59 -05:00
ClementTsang
b3eafe711e Fix issue introduced with last commit on searching. 2020-02-17 17:53:49 -05:00
ClementTsang
4485d1b380 Some clippy and refactoring. 2020-02-17 17:42:51 -05:00
ClementTsang
c669b5337c Add ability to still show data entries in the legend even if line is disabled. 2020-02-17 12:07:43 -05:00
ClementTsang
cbafbfc699 Minor rearrangement of CPU toggle location. 2020-02-17 00:40:39 -05:00
ClementTsang
e2039722eb Reversed CPU drawing order; this promotes average (if enabled) to draw on top. 2020-02-16 20:37:34 -05:00
ClementTsang
32e8be93b7 CPU title bar and esc sequencing. 2020-02-16 19:32:21 -05:00
ClementTsang
8856ea152e De-selected cpu lines are hidden from normal chart. 2020-02-16 18:40:13 -05:00
ClementTsang
8a718080a5 CPU specific line filtering added. 2020-02-16 17:48:24 -05:00
ClementTsang
4dc5a3f6d4 Minor refactoring again. 2020-02-15 20:16:05 -05:00
ClementTsang
51761400ce Some minor refactoring; added a quick skip for invalid or blank searches 2020-02-15 20:01:59 -05:00
ClementTsang
470e431e55 Fixed network chart bug, changed search widget option positioning to always place at bottom. 2020-02-15 17:19:49 -05:00
ClementTsang
20b5efcc01 Added esc to title of maximized widgets 2020-02-12 19:55:58 -05:00
ClementTsang
f0dad8f5bf Added maximizing mode to allow users to zoom into a particular widget. Not 100% done. 2020-02-12 00:35:37 -05:00
ClementTsang
60b6a0911a Major refactoring to appease clippy; potential reintroduction of hjkl keys to navigate widgets... 2020-02-10 00:16:11 -05:00
ClementTsang
8098e45dcf Update canvas to support network change on windows 2020-02-09 22:19:05 -05:00
ClementTsang
5dd22c6c89 Minor refactoring. 2020-02-09 21:34:44 -05:00
ClementTsang
82cab62790 Made dialog screens affected by colour choice. 2020-02-09 21:28:01 -05:00
ClementTsang
4bc07debb4 Some minor formatting of dialog boxes, added back widget title to search bar 2020-02-09 19:24:22 -05:00
ClementTsang
fac67e00ae Split up help screen into categories, hopefully this makes it easier to spot what you are looking for 2020-02-09 19:17:59 -05:00
ClementTsang
909fbd3571 Made the dd screen prettier. 2020-02-09 17:11:57 -05:00
ClementTsang
4ac3a10fbf Update and clean up ? menu... some more work to be done though 2020-02-08 22:38:55 -05:00
ClementTsang
b593a29e9c More cleaning up of new colour feature 2020-02-08 18:00:50 -05:00
ClementTsang
8764b3092a Some cleaning up of the canvas colour setting feature 2020-02-08 16:39:50 -05:00
ClementTsang
f3a70fbf6d Added more options and removed cursor (merged with overall text highlighting) 2020-02-08 16:00:43 -05:00
ClementTsang
2123becb81 Added colour options to config; updated sample config to reflect this; updated README 2020-02-08 14:28:19 -05:00
ClementTsang
0b857f6609 Remove useless to_vec() calls to reduce clones 2020-02-04 23:33:09 -05:00
ClementTsang
146424a1d4 [skip travis] Remove redundant code 2020-02-04 23:21:44 -05:00
ClementTsang
e0115624a9 Refactoring - moved canvas into its own struct... time to do some more fun optimization. 2020-02-04 22:44:49 -05:00
ClementTsang
18ae433f22 Tweaked default colour to have better contrast, added labels back to network (note they won't show as of now due to tui-rs, but that should change with an upcoming TUI release) 2020-02-03 00:39:46 -05:00
ClementTsang
7bf88dffd1 Fixed network chart to make it a bit more like before my changes 2020-02-03 00:06:54 -05:00
ClementTsang
0a13d75415 Made search drawing on canvas a bit more efficient if possible, fixed app positionings due to search repositioning 2020-02-02 23:50:18 -05:00
ClementTsang
6551885666 Update documentation and added more flags for search as per last commit 2020-02-02 23:20:53 -05:00
ClementTsang
fc3a2e69ec Made search look prettier and organized it a bit... also added match whole word functionality. 2020-02-02 23:15:28 -05:00
ClementTsang
e98cc770a5 Removed Ctrl-hjkl as movement between widgets as Ctrl-j seemed to be broken... replaced with Shift-arrow keys for an alternative 2020-02-02 17:45:05 -05:00
ClementTsang
e548d07c1f Add panic hook, fix cpu legend causing panic on small windows 2020-02-02 17:09:42 -05:00
ClementTsang
96bb4d1dc1 Fix too small window bug 2020-02-02 14:24:10 -05:00
ClementTsang
1b09133e3b Refactor i64 to u64 for position 2020-02-02 14:22:16 -05:00
ClementTsang
853ce3c736 Move ignore case to tab 2020-02-02 00:55:57 -05:00
ClementTsang
3327087443 Fix dd with new changes 2020-02-02 00:52:41 -05:00
ClementTsang
0ab4b7f7cc Fix process searching while scrolling... that was broken for a while, I guess 2020-02-02 00:24:00 -05:00
ClementTsang
0bf7f32473 Optimizing processes... 2020-02-01 23:49:44 -05:00
ClementTsang
2d25abaa16 Removed redundant logic in cpu chart causing average to show the wrong colour 2020-01-28 22:42:14 -05:00
ClementTsang
f32035b8d5 Tweaked the chart ratios 2020-01-28 22:38:36 -05:00