Skip to content

Request: Wrap long prompts in Tool Confirmation Screen instead of truncating #21602

@drkorcan

Description

@drkorcan

What happened?

When Gemini CLI prompts for user confirmation before executing a tool (e.g., WebFetch), long parameters—especially the prompt or instructions—are truncated with "..." based on the terminal width.

This prevents the user from seeing the full content of what they are about to approve, creating a lack of clarity and potential security/accuracy concerns.

What did you expect to happen?

Instead of truncating text at a fixed width, please implement word-wrapping for tool parameters in the confirmation UI. This would allow users to review the entire instruction or prompt before proceeding.

Client information

  • CLI Version: 0.32.1
  • Git Commit: e8a57c7
  • Session ID: 06e0e035-968c-4909-b54f-46492d35d7d7
  • Operating System: win32 v24.9.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 310.6 MB
  • Terminal Name: Unknown
  • Terminal Background: Unknown
  • Kitty Keyboard Protocol: Unsupported

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!type/feature
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions