cpython/Misc/NEWS.d/next/Core_and_Builtins/2024-08-25-18-27-49.gh-issue-123177.yLuyqE.rst

Fix a bug causing stray prompts to appear in the middle of wrapped lines in
the new REPL.