Skip to content

Unexpected line breaks in numbered list output despite wide terminal #1483

@Grrrolf

Description

@Grrrolf

Description

The CLI is inserting unexpected line breaks in numbered list items, splitting labels from their values even in a very wide terminal (245 characters).

Steps to Reproduce

  1. Ask the agent to generate a numbered list with format: Label: value
  2. Observe output in a wide terminal (245+ characters)

Expected Behavior

1. Product A: 498.6 min
2. Product B: 486.3 min
3. Product C: 283.5 min

Actual Behavior

1. Product A:
 498.6 min
2. Product B:
 486.3 min
3. Product C:
 283.5 min

Environment

  • Terminal width: 245 characters
  • CLI Version: 0.0.408
  • OS: Darwin

Additional Context

  • Line breaks occur inconsistently (some lines break, others don't)
  • Not related to trailing spaces or Markdown formatting in source
  • Switching to bullet points instead of numbered lists shows same issue
  • Very short text should not trigger any wrapping logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions