Repository navigation
Conversation
closes #538
aymanbagabas
approved these changes
Mar 12, 2025
aymanbagabas
left a comment
Contributor
There was a problem hiding this comment.
Other than using cellbuf@v0.0.13, LGTM
|
Tested with this piece of code: go get -u github.com/charmbracelet/huh@main && make FormCup(
cupDAO,
&globCupEntity,
"Drink Cup",
"This wizard will guide through the steps to track a new cup"+
" of coffee that was consumed.\nasdf asdf asdf sa fsad f sadfsad f asdf sad f sadfsad f asdfsdf sadfas f sa dfsadfsdf sa dfsadfas df sad fs df sdsd f ds fsd af asd f sd f sd f as f sda f sad f sda f sad f as df asdfasdf asd fas df s adfasdf sd f sad f sda f sd f sda fs asd fsafsdfsd f sdaf s daf sadfsadf sda f sadf sd af sadf sd f sd afsd f sad f sadfffffsdaffsadfsadf sdfsafsd f sdaf sadfasdfsdf sd f sdafsadfsdafs daf sadfsadf sadf asdfsdafs adf sd fsdafsadfsdafs adf sad f sdaffsdaf asdfsa dfsadfsadfsd fsdfsdfsadf sd fasdfsadfsd fsadfasdfsadf asdfasdf asdf sadfasdfasdfsadf sdafasdfsadfasdf sadf sda fasdfsadfsadfsdf asdf sadfsadfsadfsadf sdafsadfasdfsadfsad fsadfsadfsa dfasdfasdfsadfsdafsad fs dafasdfsadfsdafsdafsadfsdafsda fasdfsadfsadfsdafs dafasdfsdafsdafsdfsd f sdafsdafsadfsadfsadfsadfsadfsadf sdafsadfsdafsadfsdaf safd fasdfsdfasdfsadfsad fsadfsadfsadfsadfsdf sdf sadfad",
accessible,
)
....
form := huh.NewForm(
huh.NewGroup(
huh.NewNote().
Title(title).
Description(description).
Next(true).
NextLabel("Let's go!"),
),
...Did I miss anything? //edit: The terminal is tall enough: ▲ kopi echo "$COLUMNS x $LINES"
104 x 52 |
Contributor
Author
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

closes #519
closes #570