-
Notifications
You must be signed in to change notification settings - Fork 477
Closed
Description
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.
#!/bin/bash
term_width=$(tput cols)
WIDTH=$((term_width / 2))
gum input \
--header="example header" \
--header.width=$WIDTH \
--header.align="center" \
--header.border="thick"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.
gum input \
--header="example header" \
--header.height="4"Expected behavior
The above commands should render as they do using gum v0.13.0
gum version 0.14.0 (295a671)
Description: Manjaro Linux
Release: 24.0.0
Codename: Wynsdey
Reactions are currently unavailable



