summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-30 11:02:48 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-30 11:02:48 +0200
commitba1b441e1da4e99546b3b7e755c8d31b73055343 (patch)
treeec809dd3e33d351a1ab91454db961a5fb2d5370d /config.def.h
parent00b51e3292062f52a4699440cb36b3aa337dbd17 (diff)
downloadclectio-1.0.tar.gz
clectio-1.0.zip
reader: verse number in a left column, hang-indent wrapped textv1.0
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.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
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"