Commit graph

164 commits

Author SHA1 Message Date
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
df01a94cb0 Another import optimization. 2020-03-02 00:09:45 -05: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
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
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
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
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
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