-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"Run selection/line in Python terminal" does not copy the code into the terminal from the start of the selection #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @dalyIsaac on August 25, 2017 2:0 This only occurs when the integrated shell is set to Powershell. If it's set to cmd.exe, it doesn't occur |
I was also unable to reproduce this under Linux. |
We need to add a slight delay to ensure the terminal and python repl are both ready to accept input. |
From @dalyIsaac on August 12, 2017 0:45
Environment data
VS Code version: 1.15.0
Python Extension version: 0.7.0
Python Version: 3.6.1
OS and version: Windows 10 (OS Build 16257.1) Pro
Actual behavior
After selecting an area of code and the option to "Run selection/line in Python terminal", code is copied into the terminal, but not from the start of the selection.


Repeatedly trying to "Run selection/line in Python terminal", after closing the terminal each time results in the code copied into the terminal starting at different points each time.
Expected behavior
All the code is copied into the Python terminal
Steps to reproduce:
Logs
Output from
Python
output panelN/A
Output from
Console window
(Help->Developer Tools menu)N/A
Copied from original issue: DonJayamanne/pythonVSCode#1163
The text was updated successfully, but these errors were encountered: