Keep content section fixed terminal width. #6
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: varia/go-sh-manymanuals#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
The content section widht is adjusting according to the currently displayed content, at least it is now on my machine. It would be nice to keep this just as large as possible (terminal width) somehow.
Nice yeh, I think my math is just off and I was mostly guessing. Here's what it's doing so far:
grab the terminal width at start of program
set the width / height for the viewport (borked)
set the width / height for the datasheet listing (borked also)
respond to terminal resizing (not implemented)
So yeh, maybe we need to get those calculations right so the width/height don't exceed the terminal and the space shared between them is visually nice / clear. Then perhaps the content needs wrapping inside the viewport? There could be more styles required.
Once this is solved then this also covers #7 since if you are always respecting the widths then you will match 79 chars also?
In i3 when I hit super+shift+space, to take the terminal out of tiled and into floating mode, it makes the terminal instantly 79chr wide. This I use to debug the designs of the Varia banners.
you can make a terminal smaller but I think thats where our support should end :)