From ba1b441e1da4e99546b3b7e755c8d31b73055343 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 30 Jul 2026 11:02:48 +0200 Subject: reader: verse number in a left column, hang-indent wrapped text putwrapped now peels the leading chap:verse token into a fixed VNUM-wide column (new config knob, default 8) and hang-indents continuation lines under the text, so the reading has a straight left margin instead of wrapping flush to column 0. Verses without a numeric prefix still wrap flush-left; the WRAP<=0 (terminal-fit) path is unchanged. --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 53f3378..25d1fe0 100644 --- a/config.def.h +++ b/config.def.h @@ -18,6 +18,9 @@ /* --- Wrap reading text at a column width. --------------------------------- */ #define WRAP 0 /* 0 = fit the terminal (no wrap when piped); N = fixed cols */ +/* --- Verse-number column. ------------------------------------------------- */ +#define VNUM 8 /* width of the left "chap:verse" column; text hangs under it */ + /* ------------------------- derived (do not edit) ------------------------- */ #if GOSPEL_ONLY # define READMODE "Gospel only" -- cgit v1.3