Open
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Clone https://github.com/adsr303/manup. Note: Depends on
whatis
. go run .
- the title "Choose manpage" should be visible.go get github.com/charmbracelet/huh@latest
go mod tidy
go run .
- the title will not be visible.- Add
manOpts = manOpts[:5]
in main.go:30. go run .
- now all options fit in the screen and the title "Choose manpage" is visible.
This is a regression from v0.5.2.
Expected behavior
The title of the Select
should be visible whether the options fit on the screen or not.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Ubuntu 22.04.4 LTS on Windows 10 x86_64
- Kernel: 5.15.153.1-microsoft-standard-WSL2
- Terminal: Windows Terminal, Tilix
Additional context
This may be somehow related to another observation: When any of the items don't fit on one line and wrap around, the title also doesn't appear.
Activity