Relevant answer: https://stackoverflow.com/a/27921592/21489337
tl;dr, run this command in the terminal
stty echo
Unlike the accepted answer above, this one should be able to restore the ability to see the typed commands without needing to erase the past history of your terminal session.