-
Notifications
You must be signed in to change notification settings - Fork 350
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
gum input header flags can output an incorrect render #582
Comments
this should be fixed by #634 |
Thanks for working on this @caarlos0. I just wanted to report behavior of some scripts using commit The scripts without any type of border now work as expected. Thanks for the fix.
The scripts with a border will have the input line obscured
|
good find, seems to be related to the height, not sure how yet, though |
caarlos0
added a commit
to charmbracelet/huh
that referenced
this issue
Aug 19, 2024
if height is not set, it will never actually work properly. refs charmbracelet/gum#582 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
caarlos0
added a commit
to charmbracelet/huh
that referenced
this issue
Aug 19, 2024
if height is not set, it will never actually work properly. refs charmbracelet/gum#582 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
caarlos0
added a commit
to charmbracelet/huh
that referenced
this issue
Aug 19, 2024
if height is not set, it will never actually work properly. refs charmbracelet/gum#582 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
should be fixed on main! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Setting some of the header properties of
gum input
including,--header.align
and--header.height
, can cause rendering over subsequent lines of the output.To Reproduce
This simple bash script sets a header and aligns it inside a border.
Using a border makes the behavior apparent, but output is also affected without a border. Setting header height to more than 2 obscures the placeholder.
Expected behavior
The above commands should render as they do using
gum v0.13.0
The text was updated successfully, but these errors were encountered: