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
ClementTsang
05e0e6bb82
Forgot to set size field upon detecting a resize...
2020-03-10 21:42:12 -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
Clement Tsang
226c4e5a68
Clean up and manage some basic stuff ( #73 )
...
* Remove debug statement.
* Remove redundant functions from main
* Update pull request template.
* Format temperature line.
* Update README for chocolatey.
* Add note about basic mode and htop's inspiration.
2020-03-08 00:35:01 -05: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
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
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
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