* 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>
* Implement minimum size
* Update tui/src/state.rs
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
---------
Co-authored-by: Chris Titus <contact@christitus.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>