1

i am trying to run a simple input program but I cant type in the output terminal.Thanks enter image description here

2
  • 3
    That looks like you might be in a "read-only" view, try going to the "terminal" tab next to the "output" tab Commented Oct 4, 2021 at 3:00
  • that vscode-output cli you cant type anything there Commented Oct 4, 2021 at 3:06

2 Answers 2

5

Code Runner shows results in OUTPUT and doesn't accept inputs by default. Add

"code-runner.runInTerminal": true

in Settings.json, then you can input data.

Sign up to request clarification or add additional context in comments.

Comments

0

File -Reference - Setting - code runner : Run in terminal whether to run code in integrated terminal

This works in mine

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.