How to heal garbled terminal
If you see something like:
°±⎼␊⎻: ␌▒┼'├ ⎺⎻␊┼ .┐␍␊/␌▒␌␊-│␊⎺┼
│␊⎺┼# ─
┐⎽: ─: ┼⎺├ °⎺┤┼␍
│␊⎺┼#
│␊⎺┼#
│␊⎺┼# ├⎻┤├ ⎽±⎼
│␊⎺┼# ─
┐⎽: ─: ┼⎺├ °⎺┤┼␍
│␊⎺┼#
│␊⎺┼#
│␊⎺┼# ├⎻┤├ ⎽±⎼
instead of normal ASCII text, run the following command (blindly)
tput sgr