feat: the maintainer's console art in tiers on the usage screen #16
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/confconsole!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/maintainer-console-art"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
keelbanner.choose() picks the largest tier (wide, full, small, none) the dialog has room for, from the files keel-core installs in /etc/keel; UTF-8 tiers when the locale dialog inherits is UTF-8, ASCII otherwise.
Room is measured as dialog uses it (checked with dialog 1.3 on trixie): screen less backtitle and shadow (4 rows, 4 cols); the usage text wrapped at the box width plus 5 rows of frame, the blank row Console._wrapper adds, and the button. The box widens for the wide mark and grows by the mark's rows, never past the room. Replaces the 24 row floor and the fixed 25 row box.
At 80x24 a dual stack usage text (11 rows) leaves no room for any tier; the small one fits above 7 rows or fewer.
Needs Keel-Linux/keel-core#19, which installs the art.
Test plan