diff options
| author | danix <danix@danix.xyz> | 2026-06-11 11:06:22 +0200 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2026-06-11 11:06:22 +0200 |
| commit | dfc943d311a1b591ab60af42f84ae5b3924fef22 (patch) | |
| tree | 46163a7c0b92ebb90832cbfba861f02bb1eafd15 | |
| parent | 3b23e709205a9daf03c9b9e53cc8a8c0372a50cb (diff) | |
| download | wallp-dfc943d311a1b591ab60af42f84ae5b3924fef22.tar.gz wallp-dfc943d311a1b591ab60af42f84ae5b3924fef22.zip | |
docs: note qarma --info whitespace-collapse gotcha in CLAUDE.md
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| -rw-r--r-- | CLAUDE.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -59,6 +59,13 @@ Syntax check: `bash -n wallp`. - **qarma `--list` needs `--radiolist --print-column=2`.** A plain `--list` prints nothing on selection (bug that shipped once). `qarma_select` depends on these flags; a regression test guards it. +- **qarma `--info` collapses whitespace.** Newlines and runs of spaces are eaten + by the GTK label. `show_help`'s markup uses `<br>` for line breaks and ` ` + (non-breaking space) for column padding — NOT `\n` or literal spaces. Pango has + no `<br>`, but qarma preprocesses it into a newline. `--width=600` stops the + description column from wrapping (GTK still enforces a min dialog width, so the + window looks wide). The stdout branch keeps plain text; a test asserts no + markup tags leak there. - **Selective kill.** `apply_output` kills only the changed output's swaybg PID (tracked in `~/.cache/wallp/{H,V}.pid`). Updating one screen must never blank the other — there's a test for this; keep it green. |
