Feature request: make /history display limit configurable

Status Open
Reported on v2.1.278
Maintainer reply None cached
Activity 0 comments · opened Sep 20, 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

Description:

Description

/history in Claude Code CLI only shows the last 100 entries.
The full history file (~/.claude/history.jsonl) stores all entries without issue.

This is a feature request to make the limit configurable.

Environment

  • Claude Code version: 2.1.278
  • OS: Windows 11

Proposed Solution

Suggested Solution

Add a setting in ~/.claude/settings.json to control the limit, e.g.:

{
  "historyDisplayLimit": 200
}

Or expose it as a flag like /history --limit

### Alternative Solutions

_No response_

### Priority

Low - Nice to have

### Feature Category

CLI commands and flags

### Use Case Example

_No response_

### Additional Context

_No response_

View original on GitHub ↗