Commit graph

111 commits

Author SHA1 Message Date
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
ClementTsang
bf02afcf79 Add g and GG logic 2019-12-25 23:31:18 -05:00
ClementTsang
baf588be8a Redid some of the networking portion, changed cargo a bit, some refactoring 2019-12-25 23:02:21 -05:00
ClementTsang
395a3083c6 Update heim 2019-12-25 20:28:38 -05:00
ClementTsang
b7a7ae1a17 Update to newer version of crates 2019-12-25 20:09:49 -05:00
Clement Tsang
76189efee4 Fix some more clippy hints. 2019-12-23 00:57:16 -05:00
Clement Tsang
eee9c54175 Fix problem with missing brackets and BEDMAS... 2019-12-22 23:38:55 -05:00
Clement Tsang
4974ae0886 Some simple fixes to abide by clippy 2019-12-22 17:37:07 -05:00
ClementTsang
d5bc7810e9 Switch back to round 2019-12-17 02:11:40 -05:00
ClementTsang
bd37915567 Add double tap key timeout to prevent accidental dd's 2019-12-16 02:21:44 -05:00
ClementTsang
f8209c9162 Update controls. 2019-12-15 00:17:15 -05:00
ClementTsang
7592fec1d1 Fixed some labels I forgot to match with networks. 2019-12-14 00:30:34 -05:00
ClementTsang
8d648433f0 Switch to log scale for networks to allow a scale from 0 bytes to 1 GiB. 2019-12-14 00:13:29 -05:00
Clement Tsang
8c005a327b Tweaked mouse and keyboard accept rates 2019-12-13 02:55:25 -05:00
Clement Tsang
a0729d3913 Fix for winapi 2019-12-13 02:45:09 -05:00
Clement Tsang
8d5db7aa79 Rename error name. 2019-12-13 02:43:34 -05:00
Clement Tsang
12b4518fa1 Fixed problem with invalid vector index access. 2019-12-13 02:42:36 -05:00
Clement Tsang
a6b746896b Change to datacol to deal with windows problem. 2019-12-13 01:45:27 -05:00
ClementTsang
076d6a0546 Changed network data to show decimal point. 2019-12-11 01:01:40 -05:00
ClementTsang
467af10c36 Begin change of legend, and fixed scrolling issue caused by tui-fork drop 2019-12-11 01:01:24 -05:00
ClementTsang
f203da1ac5 Tweaked scroll rejection period. 2019-12-11 01:00:56 -05:00
ClementTsang
9913cc9fda Update dependencies 2019-12-07 03:01:35 -05:00
ClementTsang
b9b7d61a99 Add debug flag 2019-12-07 00:58:52 -05:00
ClementTsang
6ac5812ffd Fix travis. 2019-12-06 23:29:23 -05:00
ClementTsang
e7477ce517 Update tui version... legends aren't showing up yet, will have to fork again. 2019-12-06 00:57:04 -05:00
ClementTsang
ff595cd028 Fanagle with tui. Going to probably put this on halt until tui-rs pushes a new stable release... 2019-11-05 16:33:57 -05:00
ClementTsang
6efdce4d43 Also added a keyboard delay handler just in case... 2019-10-12 23:53:45 -04:00
ClementTsang
b87edceb86 Fixed problem caused by overfilling the input queue with scroll events. 2019-10-12 23:51:15 -04:00
ClementTsang
902ed9a839 Separated stale and display constants. 2019-10-12 19:19:53 -04:00
ClementTsang
d35ddf3c6a Added hotkey to reset all data on screen. 2019-10-10 18:01:23 -04:00
ClementTsang
2e6f087a3a Minor change to fern init results and added to error file 2019-10-10 17:22:53 -04:00
ClementTsang
d42f144384 Added scaling factor to make CPU usage in processes more representative of TOTAL usage, rather than percentage of CPU percentage 2019-10-10 17:13:18 -04:00
ClementTsang
726006dbec [skip travis] Minor README and help updates to be more clear. 2019-10-09 22:50:36 -04:00
ClementTsang
0697e44802 Added freezing of updates. 2019-10-09 22:34:09 -04:00
ClementTsang
2900ae2acf Added help screen. 2019-10-09 22:00:10 -04:00
ClementTsang
2d20ec7f6f Fix for cleaning times, as well as made it not run every loop. 2019-10-09 19:19:39 -04:00
ClementTsang
f55d2fff3f Added way of removing stale entries in the old PID list. 2019-10-06 21:06:53 -04:00
ClementTsang
7bd49be49a Removed unsafe unwraps 2019-10-05 21:55:35 -04:00
ClementTsang
72a3de98c2 Added arrows to indicate process sorting direction 2019-10-04 23:22:16 -04:00
ClementTsang
11f8b8ea2b Added RAM values to chart. 2019-10-03 00:05:58 -04:00
ClementTsang
34c102195d Added scrolling for temp and disk list. 2019-09-25 16:43:13 -04:00
ClementTsang
674de1a2d4 Added const to make rate switching in the future easier. 2019-09-25 12:42:39 -04:00
ClementTsang
b5cacb3e2e Added arrow key control for processes and the like, and fixed off by one error. 2019-09-25 12:35:32 -04:00
ClementTsang
a592472562 Changed how we handle total mem = 0 cases; made it so that it just sets a really negative value and we just check if the most recent value is negative 2019-09-25 02:45:09 -04:00
ClementTsang
5ecc80e2ad Fix for divide by zero if swap/mem was 0 2019-09-25 02:13:10 -04:00