-
Notifications
You must be signed in to change notification settings - Fork 442
Open
Description
Describe the bug
gum file is always 1-2 row(s) too high for the terminal, resulting in the top most option and header being offscreen
To Reproduce
Steps to reproduce the behavior:
mkdir gum.tmp
touch gum.tmp/a.txt
touch gum.tmp/b.txt
gum file ./gum.txt
Expected behavior
In the example above, files a.txt and b.txt should both be shown.
The Problem
The bug results in a.txt and the header (if it exists) being shown offscreen.
a.txt still exists, and can be selected; the bug is purely visual
Screenshots
- OS: EndeavourOS
- gum version 0.17.0
Additional context
I have found a workaround, utilizing padding to offset the header and top most item back onscreen.
- without header:
gum file --padding="1 0 0 0" ./gum.tmp - with header
gum file --padding="2 0 0 0" --header=foo ./gum.tmp
kabeero and nicholas-mn
Metadata
Metadata
Assignees
Labels
No labels


