[Feature Request] Improve rewind functionality or provide alternative undo/state management

Resolved 💬 3 comments Opened Mar 8, 2026 by shorn-1red Closed Apr 5, 2026

Bug Description
rewind is useless to me as a concept, but even disabling it still leaves claude-code broken and awkward

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.71
  • Feedback ID: 3a1f1f11-824b-4f07-b337-47529215a1f3

Errors

[{"error":"Error: Request was aborted.\n    at nVA (B:/~BUN/root/src/entrypoints/cli.js:1145:67385)\n    at next (native:1:11)\n    at YEL (B:/~BUN/root/src/entrypoints/cli.js:6253:6833)\n    at next (native:1:11)\n    at EEL (B:/~BUN/root/src/entrypoints/cli.js:6258:9195)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T00:25:37.099Z"}]

---
Issue 1:

Title: Rewind prompt shown despite rewind: false in config

Body:
When rewind is set to false in the Claude Code config, abandoning a response still presents the rewind selection prompt, forcing the user to select "current" every time. The setting should suppress
this prompt entirely.

Steps to reproduce:

  1. Set rewind: false in config
  2. Start a response, then abandon it
  3. Observe that the rewind/current selection prompt still appears

Expected: No prompt — just continue with current state.

---
Issue 2:

Title: Soft-lock after clear + Esc with rewind disabled (2.1.71)

Body:
With rewind: false in config, clearing a session and then pressing Esc causes Claude Code to hang. It appears to try to display rewind history that doesn't exist. The session becomes unresponsive and
requires Ctrl+C to recover.

Steps to reproduce:

  1. Set rewind: false in config
  2. Start a session (version 2.1.71)
  3. Clear the session
  4. Press Esc
  5. Session is soft-locked — no input accepted

Expected: Esc should either do nothing or behave gracefully when there's no rewind history.

View original on GitHub ↗

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