Repository navigation
HUD: markdown mode, --font-size and --file - #641
Merged
Merged
Conversation
…les, refuse empty markdown - restore a HUD's creation font size after every per-surface config rebuild and global reload - draw markdown tables with full box borders and a header rule - size a thematic break to the widest row, at least three glyphs after a container prefix - refuse a markdown message that renders nothing visible - normalize CRLF line endings from --file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
opt-in
--markdownmode forsession hud, plus--font-sizeand--file, so a controller agent can keep a multiline status panel in a HUD instead of the chat. Plain text remains the default, with its 256-character cap, and old clients and tree read-back keep working.markdown mode
AttributedString(markdown:): headings, bold, italic, strikethrough, nested lists, code blocks, block quotes, rules, and GFM tables framed in box-drawing borders…, and rows past the panel's height give way to a dim… N more, itself clipped in a narrow panelupdatemust repeat--markdown, or the panel returns to plain textfont size and file
--font-size PT(6-72) on open sets the panel's own font size. Omitted, the panel uses the session's size at open. It stays fixed for the panel's life, andupdaterejects it--file FILEreads the message from a UTF-8 file, once per commandcontrol API
hudnode reads backmarkdown, andfontSizewhen one was requested. An inherited size is omitted. Both carry to a mirrored HUD