Commit Graph

8 Commits

Author SHA1 Message Date
Liam
a5b3df0776
Refactor various components of Rust code (#490)
* refactor: Simplify hint code, replacing while loop with fold iterator

* refactor: Add spacing to lines in a separate function

* refactor: Replace if let with map_or for better readability

* refactor: Remove unnecessary duplicate body from is_cmd function

* refactor: Create generic function to replace duplicate get_selected code

* refactor: Remove duplicate code, remove unnecessary nesting

* refactor: Move style into its own variable

* refactor: Use constants for min width and height

* refactor: Remove pointless duplicate variable

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-19 13:18:55 -05:00
JEEVITHA KANNAN K S
a747f80c85
feat: Multi selection and installation (#338)
* Fix conflicts

* Fix cmd running when selected is directory

* Clean comments
2024-09-19 13:15:30 -05:00
JEEVITHA KANNAN K S
831f71bf43
Fix description and preview hints (#495) 2024-09-19 12:24:56 -05:00
JEEVITHA KANNAN K S
197f359c45
Refactor tab (#347)
Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-18 21:22:43 -05:00
cartercanedy
1ea326747a
fix: Fixup preview rendering and logic of preview key binding being shown in shortcut list (#387)
* always check if selection is a command if list is focused

* clear float widget render area before rendering content

* Update hint.rs

* Update floating_text.rs

Thanks to @jeevithakannan2 for idea

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-09-18 21:00:09 -05:00
JEEVITHA KANNAN K S
a7e6ea0246
feat: Command Description (#437)
* Implement about page

Add title

Add hints

* Add descriptions for commands

* Refactor about to description
2024-09-18 19:17:08 -05:00
nnyyxxxx
3f67abc918 fix typos 2024-09-14 11:30:03 -04:00
Liam
82b89efdb2
Merge remote-tracking branch 'upstream/main' into restructure_linutil 2024-09-11 15:21:50 -07:00