Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98466

Is it possible to automate the cursor focus on terminal only when user input is required & come back at editor section when program finishes?

$
0
0

It would be a big life hack if this is possible. Because it would be a waste of time to have a cursor in the terminal in these two situations:

  1. There is no point in going toward the terminal if the program is about printing "Hello world". A C++ demo program which prints Hello world.
  2. And when there is an error in the terminal. A C++ program with an error.

What's important, is when we need to move our cursor toward terminal: User input demo program

TLDR; can we automate the cursor movement? I want my cursor to come back to the editor when it is not required in the terminal and if the cursor required in the terminal finishes its task, I want it to comebacks to the editor section.


Viewing all articles
Browse latest Browse all 98466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>