Add configurable maxCollapsedLines for tool output

Resolved 💬 3 comments Opened Mar 6, 2026 by AlexQuaken Closed Mar 9, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

## Feature Request

Tool output in the CLI is collapsed after a small number of lines (typically ~7),
requiring Ctrl+O to expand. When working with server logs, command output, or
debugging, this makes it hard to follow results without constantly expanding.

Request: Add a configurable setting like maxCollapsedLines (default: 7,
configurable to e.g. 30) in ~/.claude/settings.json:

```json
{
"maxCollapsedLines": 30
}

Use case: DevOps/sysadmin workflows where tool output (ssh, curl, log tailing)
is frequently reviewed and 7 lines is too few to see meaningful context.
```

Proposed Solution

add a configurable setting like maxCollapsedLines (default: 7,
configurable to e.g. 30) in ~/.claude/settings.json:

```json
{
"maxCollapsedLines": 30
}

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

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