aboutsummaryrefslogtreecommitdiffstats
path: root/docs/panes.md
diff options
context:
space:
mode:
authoruser <user@clank>2026-09-22 15:38:08 +0200
committeruser <user@clank>2026-09-22 15:38:08 +0200
commit1cbfb4474ca31c61254be8d5f3ec046967bd1ff3 (patch)
tree3e8184674e330ce24ebef23dd13594fa38f45fa2 /docs/panes.md
parentsidebar: room for the spinner, by default (tab_bar_padding 0 1 0 2) (diff)
downloadslosh-1cbfb4474ca31c61254be8d5f3ec046967bd1ff3.tar.gz
slosh-1cbfb4474ca31c61254be8d5f3ec046967bd1ff3.tar.xz
slosh-1cbfb4474ca31c61254be8d5f3ec046967bd1ff3.zip
theme: the busy spinner is its own colour (tab_status_spinner)
It was drawn in tab_status_busy, the colour of the words it sits beside, which made one decision out of two. The words have to stay readable at a glance and a mark does not: a theme may well want the glyph loud and the text calm -- or the text in the accent and the mark a quiet dot -- and with one entry neither is available without moving both. Unset it follows tab_status_busy, derived after it and from whatever that resolved to, named or derived, so nothing changes for anyone who does not ask and no theme in contrib needs a line. `--dump-theme` writes both, like every other colour the compositor draws.
Diffstat (limited to 'docs/panes.md')
-rw-r--r--docs/panes.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/panes.md b/docs/panes.md
index d760b82..57e3014 100644
--- a/docs/panes.md
+++ b/docs/panes.md
@@ -100,7 +100,9 @@ be able to cost you a tab you can click.
**A pane can say its status is still happening**, and the sidebar says so back:
`busy` over OSC 5577 turns that row `tab_status_busy` and puts a spinner
-(`busy_mark`) in the first column of the indent — so `make test` running and
+(`busy_mark`, in `tab_status_spinner` — its own theme entry, because the words
+have to stay readable and a mark does not, and unset it follows the words) in
+the first column of the indent — so `make test` running and
`make test` finished, which are the same words, stop looking the same from
another tab. Nothing moves when it flips, since the mark takes a column the
padding was already holding blank, and the rest of that padding is the space