Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up picker rendering #122

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

petersimonsson
Copy link
Contributor

Make use of the serde support in ratatui to parse colors.
Have the default colors in one place instead of spread out all over the place.
Move out selection update from the render function.
Move out the matcher update from the render function.
Simplify the selection if statement in render_preview function.

Make use of the serde support in ratatui to parse colors.
Have the default colors in one place instead of spread out all over the
place.
Move out selection update from the render function.
Move out the matcher update from the render function.
Simplify the selection if statement in render_preview function.
@jrmoulton jrmoulton merged commit 01c2846 into jrmoulton:main Sep 3, 2024
8 checks passed
@petersimonsson petersimonsson deleted the cleanup branch September 3, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants