title: In VSCode: why the inputs and outputs are shown alternatively even though pasting inputs in bulk
body: <p>Here is my code. A simple one. Get inputs 5 times then print 5 of them.</p>
  
  <pre><code>#include &lt;iostream&gt;
  int main(){
    for(int i = 0;i&lt;5;i++){
      int a,b;
      scanf("%d %d",&amp;a,&amp;b);
      printf("%d\n",a+b);
    }
    return 0;
  }
  /*
  1 2
  3 4
  5 6
  7 8
  9 10
  */
  </code></pre>
  
  <p>Then I try to input all inputs at once. (Paste the inputs in bulk)
  Then below was what turns out.</p>
  
  <pre><code>1 2
  3
  3 4
  7
  5 6
  11
  7 8
  15
  9 10
  19
  </code></pre>
  
  <p>The inputs and outputs are shown alternatively!</p>
  
  <p><a href="https://i.stack.imgur.com/OqLmJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OqLmJ.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>There is one more '3' between the first line and second line.</p>
  </blockquote>
  
  <p>What I am looking for is as below.</p>
  
  <pre><code>1 2
  3 4
  5 6
  7 8
  9 10
  3
  7
  11
  15
  19
  </code></pre>
  
  <p>How do I do this? I try to go through every setting in vscode but none of them seems to solve the problem... Thanks in advance!</p>