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

cli: boolean value support for packed structs #1930

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

jparise
Copy link
Collaborator

@jparise jparise commented Jul 9, 2024

Allow standalone boolean values like "true" and "false" to turn on or off all of the struct's fields.

Allow standalone boolean values like "true" and "false" to turn on or
off all of the struct's fields.
@jparise
Copy link
Collaborator Author

jparise commented Jul 9, 2024

This is a proposal based on my notes in #1694 (comment). It feels like an obvious, user-friendly approach to completely enabling or disabling packed-struct-based configuration values like shell-integration-features and (a future iteration of) window-inherit-working-directory.

If this looks good, I think we'll also want to document it in the relevant places in Config.zig.

@mitchellh
Copy link
Contributor

Yeah this makes sense to me! Thanks!

@mitchellh mitchellh merged commit 6859924 into ghostty-org:main Jul 9, 2024
16 of 18 checks passed
@mitchellh mitchellh deleted the packed-struct-true-false branch July 9, 2024 14:11
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