[BUG] Picking "Yes, clear context and auto-accept edits (shift+tab)" clears the message you had written in the textbox

Resolved 💬 4 comments Opened Jan 22, 2026 by flvmnt Closed Mar 14, 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?

This seems unintentinal and has annoyed me a few times already.

That is the option that appears after planning something.

What Should Happen?

The textbox is not cleared and i can submit my message normally

Error Messages/Logs

Steps to Reproduce

  1. Ask claude to plan something
  2. While it's coming up with the plan write something in the textbox
  3. When prompted pick "Yes, clear context and auto-accept edits (shift+tab)"
  4. Message deleted

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.17

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

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