Markdown horizontal rule (`---`) renders like a user interruption divider
Summary
When the assistant's response contains a Markdown horizontal rule (---), the rendered output is visually indistinguishable from the divider shown when a user interrupts the assistant's message ([Request interrupted by user]-style separator). This makes it ambiguous whether the assistant's output ended naturally or was cut off.
Steps to Reproduce
- Ask Claude to produce a response that naturally uses
---as a Markdown section divider (e.g., a response with distinct summary sections). - Observe the rendered separator in the terminal.
Expected
Markdown --- should render as a clearly distinct section divider that does not look like the user-interruption separator. Ideally a different style, indentation, glyph, or coloring should be used for each.
Actual
The two dividers look identical, which can mislead the reader into thinking the assistant's message was cut off mid-response.
Environment
- OS: Windows 11 Pro (10.0.22631)
- Shell: bash (via Git Bash / WSL-style invocation)
- Claude Code version: 2.1.119
- Model: claude-opus-4-7 (Opus 4.7)
Suggested Fix
Use a visually distinct style for Markdown horizontal rules vs. interruption dividers — e.g., different character (─ vs ━), different color, or different alignment/padding.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗