New GitHub issue #118878 from danielhollas:<br>

<hr>

<pre>
### Bug description:

I've been playing a bit with the new REPL, it's so awesome! (thanks to @pablogsal and @ambv for the core.py episode :love_letter: )

I noticed a strange behaviour of the tab completion, whereas upon pressing the tab twice to show available options, the `>>>` prompt jumps down and the options are displayed above it.  Please tell me this is a bug and not a feature. :sweat_smile: 

### After a single TAB

![image](https://github.com/python/cpython/assets/9539441/d57a7f56-4c92-4e89-af5e-c66014dd1aa4)

### After the second TAB

![image](https://github.com/python/cpython/assets/9539441/46dd5b94-64e0-4f8d-a654-34d6ef745db4)

This is on Fedora 39, built with `./configure --with-readline`. Apologies if I missed something.

### CPython versions tested on:

3.13

### Operating systems tested on:

Linux
</pre>

<hr>

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