diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-30 11:02:48 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-30 11:02:48 +0200 |
| commit | ba1b441e1da4e99546b3b7e755c8d31b73055343 (patch) | |
| tree | ec809dd3e33d351a1ab91454db961a5fb2d5370d /config.def.h | |
| parent | 00b51e3292062f52a4699440cb36b3aa337dbd17 (diff) | |
| download | clectio-fc265b567be00387442caf16adb6a487dfd6c312.tar.gz clectio-fc265b567be00387442caf16adb6a487dfd6c312.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.h | 3 |
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" |
