Commit Graph

10 Commits

Author SHA1 Message Date
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 e1a7378386
change: Update macOS config dir
Update documentation and program to use the correct config directory as per the dirs package.
2020-08-12 02:15:57 -04:00
ClementTsang 6e38d73116 change: Refactor dd drawing code
This also slightly improves how we generate the widths/heights to be
less... terrible.

Note this is not done, unfortunately.  This requires tui-rs' wrapped
paragraph height PR to land and release so I can properly calculate the
height offsets.

See https://github.com/fdehau/tui-rs/pull/349 for details.
2020-08-12 00:27:02 -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
ClementTsang 6d365140b6 chore: add vscode word dict 2020-05-20 11:55:03 -04:00
ClementTsang c5855e7b0a Bit of a hack, change back to non-percent based for disks to prevent some jumping entries 2020-01-10 19:00:55 -05:00
ClementTsang 4418f956c7 Some cleaning up in the data_conversion area for cpu 2020-01-04 19:20:54 -05:00
Clement Tsang 7b902a9470 Fix mouse scrolling in windows 2020-01-02 22:54:39 -05:00
ClementTsang ff43c467e4 [skip travis] Update .vscode for false positive typos 2019-12-28 01:22:33 -05:00
ClementTsang 04f36020e6 [skip travis] Add folder dictionary for ease of access on other systems. 2019-12-26 19:11:41 -05:00