[BUG] /compact error message is missing a key word

Resolved 💬 4 comments Opened Sep 8, 2025 by dyc Closed Jan 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I got the following error message while running /compact:

Error: Error during compaction: Error: Conversation too long. Press esc to go up a few messages and try again.

Pressing esc (once) does not do anything.

What Should Happen?

The error message should specify pressing esc twice:

Error: Error during compaction: Error: Conversation too long. Press esc [twice] to go up a few messages and try again.

Pressing esc twice actually opens up the "Rewind" menu to go back in the conversation history.

Error Messages/Logs

Error: Error during compaction: Error: Conversation too long. Press esc to go up a few messages and try again.

Steps to Reproduce

  1. Have a session with 0% context remaining, requiring compaction
  2. Attempt to /compact

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.108 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

related issue reports:

View original on GitHub ↗

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