Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The output window in vs code is not editable, so how we can type the input when the program asks for it?

The Error is shown when I input anything in the output window

like image 242
Jatin Chauhan Avatar asked Sep 10 '25 21:09

Jatin Chauhan


1 Answers

As the name implies, output window is only for displaying output. It seems that you're using VSCode Coderunner extension, which by default runs program in output window.

To change it to terminal, simply put :

"code-runner.runInTerminal": true

In your VSCode User Settings (shortcut: Ctrl + ,).

Screenshot

like image 144
coder Avatar answered Sep 13 '25 10:09

coder