diff options
| author | user <user@clank> | 2026-09-10 15:41:16 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-10 15:41:16 +0200 |
| commit | 881c9b4a5c7352daf4861bff5902936e9746f9f5 (patch) | |
| tree | d57b4eb8ceaf3675236c2c31924eb89d900d8dc7 /include | |
| parent | tabs: the strip can stand on its side (tab_bar_side left/right) (diff) | |
| download | slosh-881c9b4a5c7352daf4861bff5902936e9746f9f5.tar.gz slosh-881c9b4a5c7352daf4861bff5902936e9746f9f5.tar.xz slosh-881c9b4a5c7352daf4861bff5902936e9746f9f5.zip | |
sidebar: a row of air on top (tab_bar_pad), indicators under the labels' inset
One blank row above the first tab by default: a list starting in the
very corner reads as cramped, and in compact mode the row lines the
first tab up with the pane content inside the ring rather than with the
ring's top line. The pad is where the drawing starts, not a layout fact
-- the panes' rect is identical at pad 0 and pad 5, so tuning it
repaints without reflowing anyone.
The bottom indicators (pane count, prefix badge) move in one cell to
sit under the labels' own leading space; flush at the edge column they
read as misaligned on the left and collide with the compact ring's
corner on the right.
Diffstat (limited to 'include')
| -rw-r--r-- | include/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 1392288..70596ec 100644 --- a/include/config.h +++ b/include/config.h @@ -321,6 +321,11 @@ typedef struct { * untouched and keeps the full width either way. */ int tab_bar_side; /* TAB_BAR_* */ uint16_t tab_bar_width; /* columns a sidebar takes; ignored for top */ + /* Rows a sidebar leaves blank above its first tab. Air for anyone who finds + * a list starting in the very corner cramped -- or room for a terminal's + * own window buttons when the multiplexer fills a borderless window. + * Ignored for top, which has exactly one row and no air to give. */ + uint16_t tab_bar_pad; bool status_line; /* the line along the bottom: what you are looking at */ /* How far the strip and the line are held off the left and right edges. * Separate from `gap`, which is the space around the *panes*: the two happen |
