pt1243 · GitHub

Bug report

Bug description:

On Windows, when using the 3.14 autocomplete imports in the REPL for some modules, the cursor moves to the next line and the text becomes right-aligned. The cursor also becomes misplaced with respect to where the typed characters appear.

I have included below a video of the issue. The following steps will reproduce this:

  1. Type from concurrent.futures import .
  2. Hit TAB twice, to show the three suggestions.
  3. Type t; note that the cursor now moves to the end of the second line.
  4. Continue typing hread; note that the unfinished line now appears at the end of the second line, that it remains right-aligned as more text is added, and that the cursor appears between the second-last and last characters despite new characters being added at the end of the line.
recording.mp4

I investigated other modules as well, but out of the few that I tried, only from concurrent.futures import caused this behaviour.

CPython versions tested on:

3.14

Operating systems tested on:

Windows

Linked PRs

Read the original on github.com ↗