[BUG] When background Bash process completes, prompt editor is cleared, loosing partially entered prompt!

Resolved 💬 3 comments Opened Dec 10, 2025 by ANogin Closed Feb 9, 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 background Bash process completes, prompt editor is cleared, loosing partially entered prompt!

What Should Happen?

Prompt is left alone

Error Messages/Logs

Steps to Reproduce

  1. Have it start a background task
  2. Start typing in the prompt
  3. When background task ends, prompt is gone!

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.64

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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