Skip to content

Inconsistent styling of closing parenthesis in tool expand hints #5359

@dangooddd

Description

@dangooddd

What happened?

In built-in tool renderers, expand hints style the prefix as muted, but leave the final closing parenthesis unstyled:

  text += `${theme.fg("muted", `\n... (${remaining} more lines,`)} ${keyHint("app.tools.expand", "to expand")})`;

Example:

Image

Steps to reproduce

Prompt:

Check `rg --help`

Expected behavior

Final closing parenthesis is styled

Version

0.78

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginprogressIssue is being worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions