diff options
| author | user <user@clank> | 2026-08-15 13:03:14 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-15 13:03:14 +0200 |
| commit | f7c359694a387fcf6b0a133a651003c78cd1576b (patch) | |
| tree | ce5eba2a38340dbdd66f337b9b94c5fb43003233 /src/expr.c | |
| parent | sl0ppty: bindings that need no leader (diff) | |
| download | slosh-f7c359694a387fcf6b0a133a651003c78cd1576b.tar.gz slosh-f7c359694a387fcf6b0a133a651003c78cd1576b.tar.xz slosh-f7c359694a387fcf6b0a133a651003c78cd1576b.zip | |
sl0ppty: let the cheatsheet breathe
A blank line above every section heading, so the sheet reads as five short
lists instead of one wall of thirty rows. Not above the first: the "C-a then:"
caption already separates that one, and two blank lines in a row is the same
mistake in the other direction.
The blank is a row like any other, which keeps the two-column arithmetic
honest -- it takes up space, it just draws nothing. Two consequences that had
to be handled rather than discovered later:
- the column fold looks for a heading, and would happily land on the blank
*above* one, starting the second column with an empty line that reads as a
bug. It lands on the heading itself now.
- that leaves the stranded blank at the bottom of the first column, which made
the box a line taller than its contents. Trailing blanks are not counted
when sizing, so the footer sits one line under the last row of keys, whether
the sheet is one column or two.
Both are asserted, because both are the kind of thing that looks fine in the
size you happened to test at.
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions
