When creating a new terminal in IDE, why is the first input not on the same line as the terminal cursor?

problem description

when IDE creates a new terminal, the first input is not on the same line as the terminal cursor

related software version

  • win10
  • python3.6.5
  • vscode 1.30
  • pycharm 2018.2 PRO

what is shown in IDE

vscode

clipboard.png

pycharm

clipboard.png

Menu