New GitHub issue #119434 from DinoV:<br>

<hr>

<pre>
# Bug report

### Bug description:

The new REPL has an issue when outputting at the right edge of the console window.  It tries to output a "\" at the end, and then print the typed character at the beginning of the next line.  This works fine on the first line.  The 2nd line the "\" + char doesn't show up until after you press a 2nd char.  And at the 3rd line it takes 3 chars, and so on.

### CPython versions tested on:

CPython main branch

### Operating systems tested on:

Linux
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/119434">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>