[BUG] UI remains in Plan Mode after aborting a plan

Status Open
Reported on v2.1.214
Maintainer reply None cached
Activity 2 comments · opened Jul 18, 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?

When entering Plan Mode and aborting the plan before it completes, the terminal UI continues to display the Plan Mode interface even though Plan Mode has already been exited.

As shown in the attached screenshot, the Plan Mode UI elements remain visible after aborting the plan.

Expected Behavior

After aborting the plan, the UI should immediately exit Plan Mode and return to the normal terminal interface.

Actual Behavior

The terminal remains visually stuck in Plan Mode even though the mode has already been exited. The functionality appears to work correctly, but the UI does not update to reflect the current state until another action is performed.

What Should Happen?

It should delete the blue lines and the plan name on the right.

Error Messages/Logs

No error messages

Steps to Reproduce

Enter Plan Mode.
Start generating a plan.
Press Esc to abort the plan before it completes.
Observe the terminal UI.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.214

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

This appears to be a UI state synchronization issue. The attached screenshot shows the stale Plan Mode UI after the plan has been cancelled.

View original on GitHub ↗

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