I have string that goes over multiple lines leading the terminal to scroll to the latest printed line. But I want to stay in the first line, so that I will be able to see the first lines but not the latest. Is that possible? e.g.:
for i in range(100):
print(f"hello {i}")
and I want to see hello 0
but the output should stay in the same shape