955 Commits

Author SHA1 Message Date
ClementTsang
1b65fa022a Added some logic to allow visibility of network data even when smaller height windows are used 2020-01-15 00:38:43 -05:00
ClementTsang
9393586f56 Revert to labels for now... see if I have to fork tui-rs to get it to work the way I want 2020-01-14 22:28:11 -05:00
ClementTsang
ff3f1fa2ff Move some width ratios around 2020-01-14 21:24:10 -05:00
ClementTsang
e0a4ebda01 Simple moving of ram position to support TUI hiding legends... may revert this in the future, though. 2020-01-13 22:06:44 -05:00
ClementTsang
bd356a851b Regex filter added. This is a very rudimentary implementation, but I feel it's good enough for now. 2020-01-12 18:45:11 -05:00
ClementTsang
2bb1333d04 Mostly done the base display and control logic for search, now need to implement search filter logic 2020-01-12 15:41:27 -05:00
ClementTsang
ffafba2374 Adding documentation to search feature. 2020-01-12 14:25:47 -05:00
ClementTsang
66f27be4bf Update in-tui documentation to be consistent with changes. 2020-01-12 13:18:01 -05:00
ClementTsang
545cb8b8b1 Change of hjkl navigation and removal of q to quit (replaced by Ctrl-[char]) variants. This is required for a less confusing use of upcoming search functionality 2020-01-12 13:15:49 -05:00
ClementTsang
0e35d30068 [skip travis] Remove todo! macro which might cause issues on older rust versions 2020-01-12 03:08:34 -05:00
ClementTsang
94039d19eb Some intrinsic width tweaks. Min thresholds now determined by header title OR a minimum threshold. Added space redistribution as well. 2020-01-11 17:30:04 -05:00
ClementTsang
4e54c2c25d Rewrote scroll to be a bit more simple and less buggy 2020-01-11 16:28:21 -05:00
ClementTsang
86c8ce68e7 Potential fix for a panic with time comparisons 2020-01-11 00:42:03 -05:00
ClementTsang
e78fbbbf55 [skip travis] Fixed slight typo with missing column width ratio in disks. 2020-01-10 23:55:21 -05:00
ClementTsang
ef9e478daf Added new way of calculating the table widths in order to avoid some tui-rs bug causing the lines to freak out. 2020-01-10 23:41:16 -05:00
ClementTsang
c5855e7b0a Bit of a hack, change back to non-percent based for disks to prevent some jumping entries 2020-01-10 19:00:55 -05:00
ClementTsang
2c7ab558d0 Fix a quite large bug with disks table display. 2020-01-09 22:04:32 -05:00
ClementTsang
514c39cc56 Change how we call time in data_collection step 2020-01-09 21:59:52 -05:00
ClementTsang
13180c72d4 Add flag to enable by default, documentation 2020-01-08 22:54:14 -05:00
ClementTsang
c171cd0e0b Implemented dd for grouped processes. 2020-01-08 22:36:36 -05:00
ClementTsang
6cf8f0d98f Traded some mem + cpu for more smoothness while toggling. 2020-01-08 00:28:11 -05:00
ClementTsang
0f2b4a7ba5 Formatting changes to be a bit more strict on line length 2020-01-07 23:40:53 -05:00
ClementTsang
5a32404ed4 Base building blocks of grouped process functionality 2020-01-07 23:39:52 -05:00
ClementTsang
ad190a144d Some basic cleaning 2020-01-06 23:07:58 -05:00
ClementTsang
e71e22f726 [skip travis] Add Home/End keys to navigate tables 2020-01-04 19:41:32 -05:00
ClementTsang
4418f956c7 Some cleaning up in the data_conversion area for cpu 2020-01-04 19:20:54 -05:00
ClementTsang
cfca180a11 [skip travis] More documentation tweaking 2020-01-03 00:00:05 -05:00
ClementTsang
8cc8b47c89 Some documentation changes 2020-01-02 23:42:44 -05:00
Clement Tsang
7b902a9470 Fix mouse scrolling in windows 2020-01-02 22:54:39 -05:00
Clement Tsang
9ff3cb7a52 Add highlighting rows only when you are on that widget, and tweaked table spacing. 2020-01-02 19:07:53 -05:00
Clement Tsang
f018cb7542 Fix bug with network legend on windows 2020-01-02 18:34:09 -05:00
ClementTsang
f6eb2d6e54 Fix problem on windows with dd 2020-01-02 00:31:34 -05:00
ClementTsang
b22c07aba2 Added dialog for dd, added error message if fail to dd, cleaned up some stuff 2020-01-01 23:39:47 -05:00
ClementTsang
7208908413 [skip travis] Add check to prevent improper dd while on another panel 2020-01-01 18:39:59 -05:00
ClementTsang
11a6d25d4a Expand cpu chart size 2020-01-01 17:56:28 -05:00
ClementTsang
2c138378fc Add scrolling to CPU list. 2020-01-01 17:55:15 -05:00
ClementTsang
4e6e32a0ea Fix issue with network legend, by moving it down. 2020-01-01 16:32:20 -05:00
ClementTsang
e5749234a2 Add new option to allow for seeing cpu usage in processes as a percentage of current usage, rather than total 2019-12-31 22:24:54 -05:00
Clement Tsang
d0a7a0dd72 Quick error change for processes to be a bit more graceful, fix tests 2019-12-30 22:39:49 -05:00
Clement Tsang
1ab018b7be Placeholder fix for lack of total network on Windows. 2019-12-30 19:28:48 -05:00
Clement Tsang
98ccc70743 Fix processes in windows 2019-12-29 21:40:22 -05:00
ClementTsang
b52b5ea1de Fix typo in code... oops. 2019-12-28 01:21:49 -05:00
ClementTsang
ad4f124d9d Rearrange to fit legend and extra info. 2019-12-28 01:20:05 -05:00
ClementTsang
f7243bd78b Refactoring (note graphs are shrunk for next commit) of canvas 2019-12-27 22:39:25 -05:00
ClementTsang
e5845d5719 [skip travis] Add field for total rx and tx display in the canvas; note this will get changed when we rewrite legend into a separate tab due to tui-rs limitations 2019-12-27 18:30:35 -05:00
ClementTsang
9b11e7ea9c [skip travis] Fix formatting in field 2019-12-27 18:22:33 -05:00
ClementTsang
25d0ae45b4 Some cleaning to avoid duplicate code 2019-12-27 18:19:57 -05:00
ClementTsang
a8bcccc8cf Some moving of lines 2019-12-27 16:47:12 -05:00
ClementTsang
f25bb68662 Add stock 6 colours 2019-12-26 19:08:43 -05:00
ClementTsang
55b5e5abd5 Add random colour generation to allow for dealing with large multicore systems without overlapping colours (hopefully) 2019-12-26 19:06:30 -05:00