Commit graph

26 commits

Author SHA1 Message Date
Clement Tsang
3d2fc76aa2
feature: Add mouse click support for moving between widgets (#208)
Adds mouse support to the application, to move between widgets and click on elements.

List of things to added:

- Click to move between widgets
- Click to move between widgets in basic mode
- Click on widget entries
- Ability to disable mouse if you don't like it, I guess
2020-08-29 18:54:18 -04:00
Clement Tsang
4b03b4b0b0
refactor: Refactor code, add new tests
Refactor code so we use a lib, allowing for easier testing. Adds additional tests for layouts.
2020-08-19 16:32:33 -04:00
Clement Tsang
f3897f0538
feature: Allow sorting by any column
This feature allows any column to be sortable.

This also adds:
- Inverting sort for current column with `I`
- Invoking a sort widget with `s` or `F6`.  Close with same key or esc.

And:
- A bugfix in regards the basic menu and battery widget
- A lot of refactoring
2020-08-15 20:35:49 -04:00
Clement Tsang
12e4777d97
change: remove slash, change scroll behaviour on cpu
- Removal of the old slash-space-to-hide behaviour of CPU widget
- Scrolling onto a specific entry will only show that entry
- Showing average is now default
2020-05-16 22:38:19 -04:00
Clement Tsang
364049ee5f
chore: update travis a bit for msrv 2020-05-04 18:53:05 -04:00
ClementTsang
1ff2606c90 update tests to deal with msrv 2020-05-04 18:23:34 -04:00
ClementTsang
f4c6cb95e4 test: add config tests, update arg tests 2020-04-23 15:33:51 -04:00
ClementTsang
4d512afdae refactor: update arg tests to use new binary env 2020-04-23 13:29:10 -04:00
Clement Tsang
0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -04:00
ClementTsang
648864176f Updated documentation, made error in args clearer 2020-03-10 01:51:28 -04:00
ClementTsang
e5588f1606 Add hiding time and autohiding time. 2020-03-09 00:52:29 -04:00
ClementTsang
78a05bc683 Fixes bug with too large inputs causing a panic
We would prefer a more graceful error message stating what went wrong.
Caught by the Travis test.
2020-03-08 22:27:41 -04:00
ClementTsang
f70cf02414 Add configurable default time and interval values
Also added documentation both in app and in the README.
2020-03-08 22:01:49 -04:00
ClementTsang
effd494683 Add two new tests; bit unrelated tbh. 2020-03-03 01:02:54 -05:00
ClementTsang
4c98fe4fde 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
0697d9dd56 Fix issue with default file paths not being respected; updated default file paths. 2020-02-20 23:10:52 -05:00
Clement Tsang
d0a7a0dd72 Quick error change for processes to be a bit more graceful, fix tests 2019-12-30 22:39:49 -05:00
ClementTsang
f8209c9162 Update controls. 2019-12-15 00:17:15 -05:00
ClementTsang
d1089cacf7 Fix for broken tests 2019-10-20 01:13:25 -04:00
ClementTsang
231049c118 Fixed text issue. 2019-09-16 23:34:34 -04:00
ClementTsang
1ebe04ecb2 Added vim + keyboard bindings. 2019-09-16 22:39:57 -04:00
ClementTsang
282acd1395 Made charting look better, switched back to braille markers (its the only way I could make it look good), and dealt with some issues regarding the display of networking. 2019-09-15 00:06:57 -04:00
ClementTsang
2435b9d90c Fixed tests. 2019-09-14 22:29:40 -04:00
ClementTsang
4846175638 Added error util, finished network graph. 2019-09-14 21:48:29 -04:00
ClementTsang
c8bbf5850c Set up more file hierarchy. 2019-09-04 23:45:19 -04:00