[BUG] Asterisk (*) characters in AI responses are rendered as dashes (-) in terminal output

Resolved 💬 2 comments Opened Jul 31, 2025 by pawciobiel Closed Aug 13, 2025

Environment

  • Claude CLI version: 1.0.64 (Claude Code)
  • Operating System: Ubuntu 22.04.5 LTS (jammy)
  • Terminal: xfce4-terminal 1.1.3 (xterm-256color )

-Model: claude-sonnet-4-20250514

Bug Description

When requesting AI responses with asterisk (*) bullet points in commit messages or other formatted text, Claude Code displays dashes (-) instead of asterisks
in the terminal output, despite the AI confirming it is generating asterisks.

Steps to Reproduce

  1. Ask Claude to generate a commit message with bullet points using *
  2. Specifically request asterisks instead of dashes for list formatting
  3. Claude confirms it's using * characters in its response
  4. Terminal displays - characters instead

Expected Behavior

Asterisk characters (*) should display as asterisks in the terminal output.

Actual Behavior

Asterisk characters (*) are rendered as dashes (-) in the terminal, causing formatting inconsistency with user preferences.

Impact:

This affects commit message formatting and any other content where specific bullet point styling is requested, making it impossible to achieve the desired markdown formatting.

Additional Context

  • The AI model confirms it's generating asterisks, suggesting this is a display/rendering issue in Claude Code
  • Issue persists across multiple requests and conversation sessions
  • Affects both commit messages and general formatted content

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗