disp bug fix

This commit is contained in:
2026-10-13 12:15:49 +02:00
parent f931db0808
commit a9f55945b8
3 changed files with 138 additions and 74 deletions
+7
View File
@@ -46,6 +46,13 @@ Versions follow `MAJOR.MINOR.PATCH-REVISION_STAGE_N` (e.g. `3.99.1-4_rc_1`).
- All modules: counters updated with `((x++))`-style commands (which return a
non-zero status when the value was 0) now use plain assignments, so they no
longer trigger the ERR trace or break `set -e`.
- `disp`: a message hidden by `QUIET`/`DEBUG` no longer returns a non-zero
status; no reset escape sequence under `NO_COLOR`; debug messages go to
stderr; works under `set -u`; faster wrapping.
- `mdcat`: tables inside fenced code blocks are shown as code; code spans and
`\_`-style escapes are protected from emphasis/link parsing; `NO_COLOR` is
honoured in tables and headings; fewer subprocesses when rendering tables;
newlines in arguments no longer break option parsing.
- `compress.sh`: option flags and loop variables no longer leak into the
interactive shell.