summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-31 21:54:27 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:08 -0300
commit6002422d04f1120ba7b0c5169d6a4ff01c1b5aff (patch)
tree0952ad04aeafdd0b9e7a8e20e0b6b9ceae409862 /src/config.zig
parent98418fd7ddb525b75b376e9e7d970be2a9f62ff5 (diff)
downloadpardes-6002422d04f1120ba7b0c5169d6a4ff01c1b5aff.tar.gz
pardes-6002422d04f1120ba7b0c5169d6a4ff01c1b5aff.zip
the scrollbar is one column, not two
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.zig b/src/config.zig
index 0db1d344..0dc12f98 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -392,7 +392,12 @@ pub const PREFIX_W: u16 = 5;
/// above/below the cursor (clamped at file boundaries and short panes), and
/// the same count of COLUMNS horizontally
pub const scroll_off = 3;
-/// the pane's left chrome: scrollbar + the layout box in the tag row
+/// the pane's left chrome: scrollbar + the layout box in the tag row. The
+/// scrollbar PAINTS only the first of these columns; the second is the pane's
+/// own background, so the bar reads as one column with a column of page
+/// between it and the text. Layout is untouched by that — the gutter is still
+/// GUTTER columns and a click anywhere in them still scrolls; only the ink
+/// narrowed. A half-block glyph in the second column was tried and rejected.
pub const GUTTER: u16 = 2;
/// a pane never shrinks past this (the h-handle can still take it to its tag
/// row alone, which is BOX_H and a structural fact, not this)