Skip to content
Permalink
Browse files

Revert to old stty settings when finishing correctly

  • Loading branch information...
aycabta committed Aug 17, 2019
1 parent f24f024 commit b0266b044effc619c33872c0d9dc04fe7e8d1143
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/multiline_repl
@@ -34,5 +34,7 @@ rescue Interrupt
puts '^C'
`stty #{stty_save}` if stty_save
exit 0
ensure
`stty #{stty_save}` if stty_save
end
puts

0 comments on commit b0266b0

Please sign in to comment.
You can’t perform that action at this time.