From 6002422d04f1120ba7b0c5169d6a4ff01c1b5aff Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 31 Jul 2026 21:54:27 -0300 Subject: the scrollbar is one column, not two --- src/config.zig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/config.zig') 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) -- cgit v1.3