1.5 KiB
1.5 KiB
| cairn | change |
|---|---|
| tasks | compose-signature |
Tasks
- src/config.rs:
signatureandsignature-delimonAccountConfigand on the globalConfig, both inRENDER_ORDER; the account block's doc comment no longer calls them TUI-only, nothing per-account being so any more. - src/account/context.rs: the two fields on the runtime
Account, merged account-over-global, plusresolve_signature, which lets--signature-filewin by standing the config down, andsignature_delim, which defaults toDEFAULT_SIGNATURE_DELIM. - src/shared/message/builder.rs:
BuilderArgs::signature_delim, threaded intocompose_body, which writes the separator verbatim instead of the hardcoded"\n\n-- \n". - src/shared/message/{compose,reply,forward}.rs: the signature resolved through the account, the delimiter read off it, and the
--signaturehelp naming both. - himalaya-tui:
signature_blockassembling the same two keys before mml sees them, making itssignature-delimlive; its own change, spec and log entry. - Tests: the default block byte-identical to what was hardcoded, a custom and an empty delimiter, the
--signature/--signature-fileprecedence, the default separator, and the TUI's block including the no-signature case. - config.sample.toml on both sides, and the CHANGELOG entries.
- Fold the delta into cairn/spec/config.md and cairn/spec/commands.md; write cairn/log/2026-08-16-compose-signature.md.