adamsky / cns

Search through rust crates without leaving the terminal
MIT License
25 stars 1 forks source link

Sort crates by different elements #2

Open adamsky opened 3 years ago

adamsky commented 3 years ago

Crates in the Results view should be sortable, at least by the elements shown in the Compare tab.

Two bindings should be created for changing element to sort crates by back and forth. Another binding should toggle between "from smallest"/"from largest" sort order. Compare tab should provide visual clues for these changes.