I have a problem when i run a program in pascal the output text is not formated right, it should write the text at the bottom of the terminal but instead it writes it over the existing text in the top left corner.
It looks like this:
It should be like this:

