feat: Claude Code-style gray box behind user messages #43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "clfy-user-message-box"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Claude Code v2.1.211 renders settled user input on a gray block —
❯dim on the background, text bright, one rectangle padded to the widest wrapped line plus a column (fresh tmux capture: bg48;5;237, prefix239, text231). This supersedes the July 13 capture's "no box" row; claudify 2.2.0 renders user messages unboxed.New
userMessageBoxsetting on the Messages section of/claudify:theme(default) — the box inherits the active pi theme's ownuserMessageBganddimcolors. pi themes are user-editable JSON and every one definesuserMessageBg, so heavily customized themes keep their palette; claudify remembers the theme's original value per instance before its transparent overwrite.claude— the captured CC values byte-for-byte (#3a3a3a/#4e4e4e/ bright white). Wrong-by-construction on light themes, which is why it isn't the default.off— the 2.2.0 rendering.One capture nuance, documented: CC paints the box only once the message settles (the in-flight echo is plain). pi has no separate pending-echo presentation, so claudify boxes from the start.
Capture + geometry:
docs/plans/2026-07-16-cc-user-message-box.md.Test plan
scripts/test-claudify-hub.ts: claude-mode bytes exact (bg/prefix/text), rectangle padding equal across lines, theme mode structural (truecolor bg, text color left to theme), interior blank lines painted, trailing spacing line untouched.tsc --noEmit --strictclean.