Frequently shows `Waiting for background terminal` even after background terminal has terminated

Open 💬 1 comment Opened Feb 17, 2026 by markasoftware-tc

What version of Codex CLI is running?

0.101.0

What subscription do you have?

api

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Linux 6.14.0-37-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

eat inside emacs inside ssh inside iterm 2 (tell me about it)

What issue are you seeing?

Frequently, after all background terminals have terminated, the loading message will misleadingly still say Waiting for background terminal. My intuition is that it periodically asks some cheap LLM to summarize what it's doing, and it just shows Waiting for background terminal until that timer is triggered, which can potentially be quite a while.

What steps can reproduce the bug?

I can't reproduce it reliably, but any substantial task involving background terminals causes this sometimes.

What is the expected behavior?

The waiting for background terminal text should disappear immediately when all background processes terminate.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗