[BUG] Editing a prompt in Notepad via CTRL+g stops Claude Code from working unless i save and close the notepad.

Status Open
Reported on v2.1.241
Maintainer reply None cached
Activity 0 comments · opened Aug 26, 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 was editing a prompt in my notepad and it took me 30 minutes and when i opened claude code it was halted the entire time. it wasted 30 minutes of my life.

What Should Happen?

It should keep on working in the background instead of halting.

Error Messages/Logs

Steps to Reproduce

  1. give a task to claude code
  2. write a prompt to it as it is working but dont press enter
  3. press ctrl+g to edit that prompt in notepad.
  4. claude code wont resume unless you save and close that notepad.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.241 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗