aboutsummaryrefslogtreecommitdiffstats
path: root/docs/scripting.md
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-14 16:31:52 +0200
committeruser <user@clank>2026-08-14 16:31:52 +0200
commit09314c235d6ae63766f14b70417a961f3fd046fe (patch)
tree8d4880a8d63c10bf109fa1ee1923ba6b3cc773b3 /docs/scripting.md
parentsl0ppty: a row in the stack lights up under the pointer (diff)
downloadslosh-09314c235d6ae63766f14b70417a961f3fd046fe.tar.gz
slosh-09314c235d6ae63766f14b70417a961f3fd046fe.tar.xz
slosh-09314c235d6ae63766f14b70417a961f3fd046fe.zip
sl0ppty: a collapsed pane is drawn as a pane, closed
Three things about the stack, and the third is the one that matters. The hover feedback loses its filled bar and highlights the foreground instead: the rule takes the focus colour, the title goes white and bold. A solid block was louder than the thing it was telling you, and these rows have to sit in a list of their own kind without shouting. Titles get air. A header read `charlie─────` with the rule welded to the name, which parses as one longer word; it is now `╭── charlie ───────╮`, with a space guaranteed on each side and a configurable `title_inset` between the corner and the title. The inset applies to the open pane's frame too, for whichever edge its title is anchored to, so both agree about what a title looks like. And the corners. A collapsed row is not a label that happens to sit above a pane — it *is* a pane, closed — so it now draws the top edge of one, corners included, in the same style the open pane below it wears. A stack of them reads as a stack of panes rather than as a table of contents, which is what the thing actually is. It costs two characters and a comment. Headers stay left-anchored at the inset while the open pane keeps title_align (centred by default). That looks inconsistent written down and right on screen: a list is scanned down its left edge, and a frame is looked at whole.
Diffstat (limited to 'docs/scripting.md')
0 files changed, 0 insertions, 0 deletions