[Bug] Command suggestions with line continuations have trailing whitespace after backslashes

Resolved 💬 2 comments Opened Mar 19, 2026 by mjaggard Closed Apr 16, 2026

Bug Description
When Claude suggests a command line to run it puts it on multiple lines with a \ at the end of each line. However the CLI seems to have loads of spaces after the \ so copying that and pasting it into a terminal doesn't work.

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 2.1.79
  • Feedback ID: 414901ff-dc6f-4bc1-b5b3-0f9fa3d330c3

Errors

$ aws ecs describe-task-definition \                                                                                                                                                              
    --task-definition weaviate-node1-prod \                                                                                                                                                                                     
    --region eu-west-2 \                                                                                                                                                                                                        
    --query 'taskDefinition.containerDefinitions[0].healthCheck'

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help

aws: error: the following arguments are required: --task-definition

zsh: command not found: --task-definition
zsh: command not found: --region
zsh: command not found: --query

View original on GitHub ↗

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