You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d7f62ea
Browse filesBrowse the repository at this point in the historyBrowse files
A picture is one ImageMarkup, laid out or inline (#49)
* A picture is one ImageMarkup, laid out or inline
figure() reached an MXP client as text art alone. Figure.Draw marked its picture
only for a terminal that draws pictures in cells (PictureCellsMarkup, under
LayoutContext.Pictures), so MXP, Pueblo and BBCode had no picture to write.
PictureCellsMarkup is folded into ImageMarkup as an optional Row (PictureRow:
row, rows, columns), and a figure with an address always marks its rows with it.
MXP, Pueblo, HTML and BBCode write the element once (ImageMarkup.StartsPicture)
and keep the figure's other cells blank, so text beside it stays put; a client
that refuses the element, or an HTML policy that refuses <img>, reads the art.
The ANSI terminal path is unchanged apart from reading the row off ImageMarkup.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ztDNVgzxM8V5WKWBRs2EW
* Treat art of line breaks alone as no art
A figure whose art held only line breaks returned its rows unmarked, so
no format wrote the picture. It now takes the description fallback, and
a terminal with pixels draws in cells sized for the pane rather than none.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ztDNVgzxM8V5WKWBRs2EW
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments