Skip to content

fix: mx divider renders text literally with caller-controlled line breaks (3.6.2)#20

Merged
rousan merged 1 commit into
mainfrom
develop
Jul 9, 2026
Merged

fix: mx divider renders text literally with caller-controlled line breaks (3.6.2)#20
rousan merged 1 commit into
mainfrom
develop

Conversation

@rousan

@rousan rousan commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

mx divider now renders text literally. Spaces are kept verbatim (" MAIN " keeps its padding) instead of being collapsed, and the banner no longer auto-wraps on whitespace. The caller controls stacking: a \n (or a real newline) starts a new line, so mx divider "IN\nPROGRESS" stacks the two words and fills the window like a single word, while "IN PROGRESS" stays on one line.

The CLI preserves the argument's spaces (no trim) and collapses a real newline to \n when re-launching under -o so the AppleScript command stays single-line. typecheck, lint, tests (115), and build all pass.

…eaks (3.6.2)

Spaces are now kept verbatim ("  MAIN  " keeps its padding) instead of being
collapsed, and the banner no longer auto-wraps on whitespace. Instead the caller
controls stacking: a \n (or a real newline) starts a new line, so
`mx divider "IN\nPROGRESS"` stacks the two words and fills the window like a
single word, while "IN PROGRESS" stays one line.

The CLI preserves the argument's spaces (no trim) and collapses a real newline to
\n when re-launching under -o so the AppleScript command stays single-line.

core: renderBanner literal rendering + \n line breaks. cli: divider arg handling,
help. docs: commands, history. version 3.6.1 to 3.6.2.
@rousan
rousan merged commit 6622730 into main Jul 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant