New GitHub issue #119257 from danielhollas:<br>
<hr>
<pre>
Pressing the Left arrow after the completions are shown moves the cursor three positions to the left.
It turns out `reader.pos2xy` uses `reader.screen` and `reader.screeninfo` to compute the position in the screen. Both of these include the two lines with completions. However, `reader.pos` and `reader.buffer` only include the things actually typed by the user (i.e. the third line `datetime.`). This leads to the new cursor position calculation being faulty. We'll have to think more about how to fix this.
_Originally posted by @lysnikolaou in https://github.com/python/cpython/issues/118877#issuecomment-2104840020_
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/119257">View on GitHub</a>
<p>Labels: </p>
<p>Assignee: </p>