Skip to content

feat: support empty user prompt with composer input text - #6

Merged
jeanpaulsio merged 1 commit into
mainfrom
feat/optional-user-prompt-composer-text
Apr 17, 2026
Merged

feat: support empty user prompt with composer input text#6
jeanpaulsio merged 1 commit into
mainfrom
feat/optional-user-prompt-composer-text

Conversation

@jeanpaulsio

Copy link
Copy Markdown
Owner

Summary

  • Adds a third Composer input field in the editor panel.
  • When the user prompt is left empty, the top user chat block is hidden and the composer renders the typed text before the caret.
  • Enables a "Claude said this, here's what I was about to type" framing alongside the existing prompt → response flow.

Test plan

  • Default state: user prompt + Claude response + idle caret render unchanged
  • Empty user prompt + composer text: user block hidden, composer shows ❯ <text> ▮
  • Both filled: user block, Claude response, and composer-with-text all render
  • Light + dark themes: composer text uses correct terminal text color
  • PNG export still works for each scenario

🤖 Generated with Claude Code

Adds a third "Composer input" field. When the user prompt is empty,
the user chat block is hidden and the composer renders the typed
text before the caret -- useful for "Claude said this, here's what
I was about to type" framings.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jeanpaulsio
jeanpaulsio merged commit 0a72d5a into main Apr 17, 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