Reset terminal modes with RIS
Merge pull request #158 from saitoha/quickfix-for-ris

Reset terminal modes with RIS