Commit Graph

41 Commits

Author SHA1 Message Date
Clement Tsang 0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -04:00
Clement Tsang 1968bb14b4
Cleanup before modularity (#84)
* Uptick some crates, update README dependencies

* Cleanup before modularity feature.

* Fix missing reset zoom on reset

* Fixed reset... not resetting search or data displayed

* Cleaned up options a tiny bit to make more sense.

* Cleaned up some TODOs and the like.

* specify only build master branch.
2020-03-13 01:07:24 -04:00
Clement Tsang d07cee0f7e
Fix cpu legend colouring (#83)
* Initial fix, but pending a rewrite.

* Initial fix, but pending a rewrite.

* Merged two separate iterations into one for cpu legend.

* Refactor average cpu, fix bug with legend and cursor.
2020-03-11 01:02:47 -04:00
ClementTsang 1046043138 Fix bug with autohide causing hide to break. 2020-03-10 01:26:30 -04:00
ClementTsang e5588f1606 Add hiding time and autohiding time. 2020-03-09 00:52:29 -04:00
ClementTsang 3026fbd1bc Add time scaling. 2020-03-08 19:47:10 -04:00
ClementTsang 6d0b7035d3 Redid basic mode logic and separated CPU
* Separated CPU into CPU legend and graph

* Redid how I did maximizing with basic mode
2020-03-08 16:17:28 -04:00
Clement Tsang 01b37368b2
More basic cleaning (#74)
* Add htop link.

* Move dd and help dialog into separate files

* Move to  folder

* Properly show error message if DD fails on macOS and linux.
2020-03-08 13:56:18 -04:00
ClementTsang 03ec52c5b1 Split up widgets to make it a bit easier to work with. 2020-03-07 23:47:53 -05:00
Clement Tsang 132a5a2170
Fix dialog box height and scroll label (#71)
* Fixes search with small mode by changing the prompt based on size.

* Minor fixes for search

- Remove ignore unused var lint
- Add a bit more spacing to deal with large unicode
- Add on-right movement on type

* Add contributor's list and bug/req section

* Check for div by zero

* Fix for dd in terms of sizing.

* Added (temporary) fix for help box.  Scrolling is the ideal solution but will leave that for another time.
2020-03-05 23:54:39 -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 bbdd7786ce Optimized imports as per clion 2020-02-28 22:24:24 -05:00
ClementTsang 818d920835 Fixed cursor issue. 2020-02-28 01:12:24 -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 59238c2687 Added named colour support + rgb colour support in config files. 2020-02-23 13:15:46 -05:00
ClementTsang cefa227060 Re-added Red to default cpu pool... this does mean that there is a conflict with avg and cpu core 10, but eh... whatever I guess. 2020-02-23 00:31:35 -05:00
ClementTsang a756c44c66 Support average cpu colour separately from others. Redid documentation. 2020-02-23 00:30:00 -05:00
ClementTsang efd74f6fb9 One last change, made head 2 colours const and shared. 2020-02-19 22:32:04 -05:00
ClementTsang c377278974 [skip travis] Update documentation. 2020-02-19 22:21:18 -05:00
ClementTsang c4cd43968e Increased number of default colours. 2020-02-19 22:07:51 -05:00
ClementTsang 1c1efcc714 Colour issue... on powershell. 2020-02-19 22:00:20 -05:00
ClementTsang ae935b6f08 Change default colouring to be compatible on macOS default terminal. 2020-02-19 21:29:53 -05:00
ClementTsang 67c6984406 Pretty sure I fixed scroll resizing... 2020-02-19 19:56:18 -05:00
ClementTsang 8cf5b42f29 Update cargo.toml, some todos 2020-02-19 00:16:40 -05:00
ClementTsang 2135ebbef1 Aaaaand revert again. 2020-02-19 00:06:36 -05:00
ClementTsang bbd475cfdb Scroll bar fix v2, electric boogaloo 2020-02-18 23:33:15 -05:00
ClementTsang e4597730bd Revert scroll fix. 2020-02-18 23:04:50 -05:00
ClementTsang 5131859ab8 Fix scroll problem with resizing/maximizing. 2020-02-18 23:02:52 -05:00
ClementTsang 8a718080a5 CPU specific line filtering added. 2020-02-16 17:48:24 -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 5dd22c6c89 Minor refactoring. 2020-02-09 21:34:44 -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 86eb14f620 Added temp setting to app, need to add to data collection. Also refactoring again. 2019-09-11 22:30:57 -04:00
ClementTsang ae6cd3aa77 Refactoring. Lots of it. 2019-09-11 22:10:49 -04:00
ClementTsang ac26ac7f5a Re-added timing, refactored. 2019-09-10 23:37:20 -04:00