What is the reason for the output flashing when running python using conda command in terminal?

I use the following command to run the python program in the terminal

conda run -n qc --no-capture-output --live-stream python "g:/VS Code Program/pythonproject/test.py"

The content in test.py is just print(1).

When I hit Enter after typing a command, The terminal first clears the screen immediately, then displays the number 1, and then clears the screen again and returns to the state before the command was entered.

So, what is the reason for this phenomenon? How can I keep the output and the command I typed before without cleaning the screen?

Could someone help me? Thank you in advance here.


OS: Windows 11

Conda version: 4.11.0

Read more here: Source link