diff options
| author | user <user@clank> | 2026-09-22 15:24:16 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-22 15:24:16 +0200 |
| commit | ecdc8d0c335c35a74b46ddb22773e8ef4b222891 (patch) | |
| tree | c2595e7522364eaaacd58f6c3a45a238b9e9fafa /docs/scripting.md | |
| parent | osc 5577: `busy`, and a sidebar that shows it (busy_mark) (diff) | |
| download | slosh-ecdc8d0c335c35a74b46ddb22773e8ef4b222891.tar.gz slosh-ecdc8d0c335c35a74b46ddb22773e8ef4b222891.tar.xz slosh-ecdc8d0c335c35a74b46ddb22773e8ef4b222891.zip | |
sidebar: room for the spinner, by default (tab_bar_padding 0 1 0 2)
`│⠋bash: cd` -- the mark landed in the one column of left padding there was,
so it ended up welded to the first letter of the status. The rule was "the
mark takes a column the padding was already holding blank", which is right
about not reflowing and wrong about there being enough of it.
So the mark takes the *first* column of the indent and whatever is left over
is the air after it, and the default indent is two columns instead of one. One
column is still available -- `tab_bar_padding 0 1` -- and now means the
squashed look on purpose rather than by default; three gives two spaces; zero
still puts everything against the frame. Nothing reflows when a program starts
or stops working, which was the point of taking a column that was already
blank.
The labels and the tab numbers move with it, because the indent is the strip's
and not the status's -- a status still starts in the column its tab's name
starts in, which is the rule the leading space existed for in the first place.
Diffstat (limited to 'docs/scripting.md')
0 files changed, 0 insertions, 0 deletions
