'How to make the beginning of directory on the new line from the end of terminal in VS Code

In the first screenshot is VS Code on my PC and the second one is from my laptop.

As you can see, I'm using the same code in both screenshots, but in img1, the terminal output ("3") is on the different line with the file directory unlike the second one which stick right into it.

I don't know how to fix this problem, if anyone know how to change this please give me an instruction

first screenshot

second screenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source