reset_terminal

Send to Kindle
home » snippets » linux » reset_terminal


Resetting the terminal

# My Way
stty sane && stty -ixon -ixoff ignpar -ixany

# Using reset
reset

# Using stty
stty sane

# Using setterm
setterm -reset > /dev/tty1