Weird White Boxes Blocking Text in the Terminal


I am having trouble using the terminal for the postgreSQL lessons. These weird white boxes keep appearing and covering the text in the terminal. This happens when I use, as well.

Can anyone explain to me what is going on and how I can fix it?

Thank you.

Screen Shot 2023-04-05 at 10.18.08 PM

Screen Shot 2023-04-05 at 10.39.06 PM