Clean up mess in terminal after ncurses crashes

If your terminal is left in mess (line-break are messed up and newlines are not visible etc) due to ncurses-crash or seg-fault, you can make your terminal behave normally again. Type

stty sane^j

In current implementation of stty.

stty sane
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s