summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:24:49 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:20:23 -0300
commit3ac1a89c2587fd97e58900f1162fad21048b0577 (patch)
tree12478c712c867547861f3e4a7509c570c2ca67ca /src/pardes.zig
parentc71ec2ba07a791571509552d218dce38774428fa (diff)
downloadpardes-3ac1a89c2587fd97e58900f1162fad21048b0577.tar.gz
pardes-3ac1a89c2587fd97e58900f1162fad21048b0577.zip
pardes: TAG_GAP goes, a knob with one value (0): TAG_TEXT_INSET is the gutter, the tag's zero-width gap fill and its two offsets in draw and mouse go, and the test blocks behind `TAG_GAP > 0` that could never run
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index 2335711f..e8d2d598 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -283,8 +283,7 @@ pub const MAX_JUMPS = 64;
pub const TOPBAR_H: u16 = 1;
pub const COLBAR_H: u16 = 1;
pub const BOX_H: u16 = 1;
-pub const TAG_GAP: u16 = 0;
-pub const TAG_TEXT_INSET: u16 = config.GUTTER + TAG_GAP;
+pub const TAG_TEXT_INSET: u16 = config.GUTTER;
pub fn taglineBandOffset(row: u16, canvas_h: f32, cell_h: u32, tagline_h: u32) u32 {
const spare = cell_h -| tagline_h;