microsoft / microsoft/vscode

Incorrect terminal output length in Python while using input()

Open
#325,086 1 comment 0 reactions 1 assignee Claimed by @anthonykim1 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No

- VS Code Version: 1.126.0
- OS Version: 19045.6466

Steps to Reproduce:

1. Hi team, I am facing an issue with the VS Code terminal. When I run a Python script that takes input using the input() function, the terminal automatically appends the complete file path along with the user input. Because of this, when I check the length using len(name), it gives an incorrect length (like 91 or 93) instead of just counting the letters I typed.
2.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.