783 Commits

Author SHA1 Message Date
Clement Tsang
f2b5f96d80
Fix by doublechecking the remaining width calculation. (#67) 2020-03-05 11:46:38 -05:00
Clement Tsang
188858fedd
Formatting and typos (#63)
* Fix typo and run rustfmt.

* Also add rustfmt check to travis... this might be temporary.

* Add a bit on default config files being created in the debian extended description.

* Add rustup component add to travis.

* Disable rustfmt for now, seems to play weird on windows builds.

* Remove unneccesary deprecate ignore.
2020-03-05 02:09:29 -05:00
Clement Tsang
d018c6ee88
Make update rate u128 across the board. (#64) 2020-03-05 01:30:53 -05:00
Clement Tsang
657cb2dd9b
remove ram rounding. (#62) 2020-03-05 00:38:09 -05:00
ClementTsang
b26f2eca4e Rename cevent to event. 2020-03-04 23:51:05 -05:00
ClementTsang
26c1175a8a More merge conflicts. 2020-03-04 23:48:40 -05:00
Clement Tsang
fee8b5c8a1
Merge branch 'master' into simple_mode 2020-03-04 23:47:53 -05:00
ClementTsang
2a40750067 Fix merge conflict. 2020-03-04 23:45:59 -05:00
ClementTsang
c69362000d Add CPU row allocation system to more evenly distribute it (aka simple division) 2020-03-04 23:13:00 -05:00
ClementTsang
32ca9edf11 Fix highlighting and cpu filtering when maximized 2020-03-04 18:16:19 -05:00
ClementTsang
a8d3593518 [skip travis] Update README. 2020-03-03 00:59:03 -05:00
ClementTsang
0c65d5ff56 Added spacing for RAM/net column. 2020-03-03 00:54:49 -05:00
ClementTsang
f3ebed6185 Add table indicator to basic. 2020-03-03 00:48:07 -05:00
ClementTsang
9cad3bb4ec Add basic flag to sample config, also fixed incorrect flag name for configs. 2020-03-03 00:08:09 -05:00
ClementTsang
1ba1b0318f Fixed bug with basic mode and default position with basic variants. 2020-03-02 23:45:44 -05:00
shilangyu
47cc34a8e2 reflected auto config creation 2020-03-02 22:07:41 +01:00
ClementTsang
8ee9b72da2 Changed search to be a constant height of 3. 2020-03-02 00:09:45 -05:00
ClementTsang
225ad5366c Added proper navigation for basic mode. 2020-03-02 00:09:45 -05:00
ClementTsang
fcd529aca2 Fixed column organization, need to refactor CPU side to remove any redundant code. 2020-03-02 00:09:45 -05:00
ClementTsang
14c2320de2 Added highlighting + begin finalizing arrangement. Still not done. 2020-03-02 00:09:45 -05:00
ClementTsang
953dd81a5d Added space, fixed div by 0 error. 2020-03-02 00:09:45 -05:00
ClementTsang
269d344c5b Renamed total rx/tx styles. 2020-03-02 00:09:45 -05:00
ClementTsang
d917a27faa Add minimal mode widgets
This adds minimal mode widgets to the program.  This is not done, still
gotta play around with rearranging it to look nice.

Also going to have to change search bar to always take a constant 3.
May remove borders.
2020-03-02 00:09:45 -05:00
ClementTsang
4c98fe4fde Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang
eb2622467f Refactoring. 2020-03-02 00:09:45 -05:00
ClementTsang
ff43799037 Add basic flag + option. Not functional yet. 2020-03-02 00:09:45 -05:00
ClementTsang
df01a94cb0 Another import optimization. 2020-03-02 00:09:45 -05:00
Clement Tsang
735038f060
Merge branch 'master' into populate-config 2020-02-29 23:16:15 -05:00
shilangyu
f0da30f2cb added missing endline 2020-02-29 13:06:49 +01:00
shilangyu
6a1fa8f379 rust fmt 2020-02-29 12:54:57 +01:00
shilangyu
622703f4b6 create config if doesnt exist 2020-02-29 12:49:56 +01:00
ClementTsang
c715133b4d Some more suggestions based on clion. Mostly removing brackets. 2020-02-28 22:39:26 -05:00
ClementTsang
75a1934420 rustfmt 2020-02-28 22:27:35 -05:00
ClementTsang
bbdd7786ce Optimized imports as per clion 2020-02-28 22:24:24 -05:00
ClementTsang
6d0136fa26 Remove a debug line. 2020-02-28 21:15:08 -05:00
ClementTsang
05d4982a1a Treat backspace as a cursor left movement. 2020-02-28 19:54:20 -05:00
ClementTsang
818d920835 Fixed cursor issue. 2020-02-28 01:12:24 -05:00
ClementTsang
3f55f071b7 Some minor things like adding a question template + removal of debug. 2020-02-27 22:50:43 -05:00
ClementTsang
09b7e5cb49 Switch to another arrow. 2020-02-27 18:25:08 -05:00
ClementTsang
b00740a7dd Added total rx + tx colouring options. 2020-02-27 17:54:39 -05:00
ClementTsang
b32d2dca26 Tiny formatting fix. 2020-02-27 17:42:34 -05:00
ClementTsang
cc751e19ae Fix issue with cursor on canvas due to not incrementing by the SIZE of the grapheme. 2020-02-27 17:15:09 -05:00
ClementTsang
ce9b5372d9 Use max grapheme length rather than max "string" length. 2020-02-27 16:15:28 -05:00
ClementTsang
a755a5d41c Switch to using unicode_segmentation's cursor as a basis on how we do cursor movement in search. 2020-02-27 16:10:33 -05:00
ClementTsang
5d90c235eb Add space after arrow due for Konsole
Fix as per https://old.reddit.com/r/kde/comments/6fxf5t/konsole_font_issue/
2020-02-25 22:41:53 -05:00
ClementTsang
0660184099 Colours if selected and F1-3 keys for search options
Added different colours to search options if selected; added F1-3 keys as an alternative for searching.  Both are available, but on macOS F1-3 will be suggested instead.
2020-02-25 21:24:31 -05:00
Clement Tsang
138e9c2132
Merge pull request #27 from ClementTsang/fix_broken_shift
Fix for issue in powershell.
2020-02-24 22:15:05 -05:00
ClementTsang
fc52c579d3 Just make swap always display... I think it's fine to keep, even if it's 0. 2020-02-24 21:46:41 -05:00
ClementTsang
1c52587760 Fix alt key too... windows treats it as a CAPITAL. Go figure. 2020-02-24 21:37:36 -05:00
ClementTsang
2f7840568c Fix for issue in powershell.
Insure that this is tested on other systems first.  At least Linux.
2020-02-24 21:29:04 -05:00