Clement Tsang
3c373d7129
feature: Add appox. total mem as an option for processes and basic mem
...
Adds a way to display the memory value as a column in the processes widget and the basic memory widget, rather than just the percentage.
2020-08-17 15:41:37 -04:00
Clement Tsang
d211c6474c
bug: Fix bug caused by hitting enter w/ a failed dd
...
This would cause the dd fields to get stuck due to never resetting.
2020-08-16 02:56:54 -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
ClementTsang
60f4759494
change: Add WASD keys for widget selection movement
2020-08-11 21:19:55 -04:00
Clement Tsang
30bdaa6073
feature: add full command to process widget
...
This PR adds the ability to toggle between the process name and process path. Currently, this uses `P` as the modifier key.
Currently, the longer command names are dealt with by forcefully changing the width of the columns, but this can be handled in a more graceful manner IMO.
2020-08-07 04:29:20 -04:00
Clement Tsang
e6379982f1
refactor: reduce unchecked type conversions to usize
2020-05-18 23:34:50 -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
a71d991695
refactor: avoid using max checks, use saturating_sub instead
2020-05-07 01:09:24 -04:00
ClementTsang
c8afe0d4f8
chore: support MSRV of 1.40.0
2020-05-04 17:45:11 -04:00
ClementTsang
6e81fbeebf
change: more advanced searching and filtering
2020-05-02 16:01:07 -04:00
ClementTsang
ecd5a003cf
change: Use e key instead to maximize; rename to expand
2020-04-29 23:52:25 -04:00
Andy
e850d3d2a8
Kill dialog: vim navigation ( #134 )
...
Add `hjkl` as navigation keys in kill dialog.
Closes #133
2020-04-28 17:43:15 -04:00
ClementTsang
8e4f6a3a02
feature: add battery flag
2020-04-27 15:56:39 -04:00
ClementTsang
8534d42f1b
refactor: separate state to different file
2020-04-27 13:48:56 -04:00
Clement Tsang
3a6f7a6750
refactor: changed how we set help text on resize and init
2020-04-25 17:32:31 -04:00
Clement Tsang
863e780f2f
change: add scrolling to help menu
2020-04-24 19:17:58 -04:00
ClementTsang
0574678746
Move to stateful except for CPU
2020-04-19 23:39:24 -04:00
ClementTsang
f334a72fb1
Made table gap optional rather than enforced
2020-04-19 17:45:32 -04:00
ClementTsang
7248298995
Update highlight to light blue; new network legend
2020-04-18 19:53:11 -04:00
Clement Tsang
163f6823a2
feature: Add battery widget ( #120 )
2020-04-16 20:06:50 -04:00
Clement Tsang
4a4a9cf221
bug: Fix dd failing on non-first entries ( #116 )
2020-04-12 19:26:32 -04:00
Clement Tsang
f210681ae7
feature: add io and io/s for processes ( #113 )
2020-04-10 20:18:26 -04:00
Clement Tsang
7d9ad1ee78
bug: Fix sizing in search and broken tab logic
2020-04-07 22:38:22 -04:00
Clement Tsang
9127cb1468
refactor/bug: Array bound checking, fix CPU jump
2020-04-06 23:04:04 -04:00
Clement Tsang
0a63ee46ef
refactor: Deal with some cognitive complexity
2020-04-06 00:40:55 -04:00
Clement Tsang
ba0fbf808e
(perf) Avoid harvesting if widget is not being displayed
2020-04-04 18:29:32 -04:00
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
ee1504db89
Fix cpu scroll.
2020-03-10 21:36:13 -04:00
ClementTsang
46f1b7df00
Redid how we auto-set time if we have autohide on.
2020-03-10 01:43:42 -04:00
ClementTsang
8630287676
Default to showing time at first for autohide.
2020-03-10 01:38:37 -04:00
ClementTsang
e5588f1606
Add hiding time and autohiding time.
2020-03-09 00:52:29 -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
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
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
d018c6ee88
Make update rate u128 across the board. ( #64 )
2020-03-05 01:30:53 -05:00
ClementTsang
32ca9edf11
Fix highlighting and cpu filtering when maximized
2020-03-04 18:16:19 -05:00
ClementTsang
f3ebed6185
Add table indicator to basic.
2020-03-03 00:48:07 -05:00
ClementTsang
1ba1b0318f
Fixed bug with basic mode and default position with basic variants.
2020-03-02 23:45:44 -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
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
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
05d4982a1a
Treat backspace as a cursor left movement.
2020-02-28 19:54:20 -05:00