Skip to content

use startupOptions#has function #1362

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GustavoCaso
Copy link

This is my first time contributing to the project.

I was impresse of how powerful and rich the charm ecosystem is. I used for one of my toy projects https://github.com/GustavoCaso/expensetrace/tree/main/internal/cli/tui

I decided to have a look at the code of bubbletea to understand better how it works internally. I noticed that is some parts of the code it uses p.startupOptions.has and in others uses p.startupOptions&.

I thought it would be a good first contribution to update the code to use has in all cases that is checking p.startupOptions

Look forward for any feedback 😉

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.

1 participant