vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

[Bug] Getting unwanted space/gap while running code in the terminal

Open isayakmondal opened this issue 4 years ago • 17 comments

  • VS Code Version: 1.63.2
  • OS Version: Win 11 (21H2)
  • Code Runner Version: v0.11.6

Describe the bug While trying to run c++ code with code-runner something weird is happening with the spacing in the terminal which best could be described by the video I've linked below. Please have a look.

Screenshots

https://user-images.githubusercontent.com/51121313/152107736-b3ec7872-d70d-40c6-bc18-927bd2f285b0.mp4

isayakmondal avatar Feb 02 '22 06:02 isayakmondal

Encountered the same problem, a temporary solution "code-runner.clearPreviousOutput": false,

NatsuStudio avatar Feb 24 '22 08:02 NatsuStudio

Encountered the same problem, a temporary solution "code-runner.clearPreviousOutput": false,

Thanks man, it works for now.

isayakmondal avatar Feb 28 '22 07:02 isayakmondal

can anyone please give a permanent solution??

Kousthubh02 avatar Apr 03 '22 11:04 Kousthubh02

I am facing the same issue but temporarily I have changed my default terminal, according to me it is only happening in windows Powershell. So either change the default terminal or you can set the clear previous output to false.✌

Harsh3341 avatar Jun 09 '22 13:06 Harsh3341

I am facing the same issue but temporarily I have changed my default terminal, according to me it is only happening in windows Powershell. So either change the default terminal or you can set the clear previous output to false.✌

Can you please tell me how to change the default terminal. and to which terminal i have to change

Tarandeep9988 avatar Jul 27 '23 17:07 Tarandeep9988

Encountered the same problem, a temporary solution "code-runner.clearPreviousOutput": false,

Thanks, the issue resolved

anujshahmnnit avatar Nov 26 '23 09:11 anujshahmnnit

Have anyone find any working solution of unwanted space between terminal on vs code while running c program

akash27jan avatar Mar 26 '24 14:03 akash27jan

Encountered the same problem, a temporary solution "code-runner.clearPreviousOutput": false,

Thanks man, it works for now.

How to use this option "code-runner.clearPreviousOutput": false,

akash27jan avatar Mar 26 '24 14:03 akash27jan

Encountered the same problem, a temporary solution "code-runner.clearPreviousOutput": false,

Thanks man, it works for now.

How to use this option "code-runner.clearPreviousOutput": false,

  1. Go to settings , then go to Open json setting
  2. Then scroll till u find ("code-runner.clearPreviousOutput": false,) sol sol2

zayed-ansari avatar Mar 27 '24 22:03 zayed-ansari