I was connected to a linux server over SSH. After performing the following command
cat dmesg.1.gz
the prompt on my SSH session changed from conor@linux:~$ to ␌⎺┼⎺⎼@┌␋┼┤│:·/┌⎺±⎽$
Any text I typed into the terminal was also garbled, even after disconnecting from the SSH session by typing exit, the terminal session which was now with my mac, was still garbled. I resolved the issue by closing the terminal window and opening a new one.
Is there any way to reset the terminal without closing the window and reopening such as a key combination?