class HighLine::Terminal

def run_preserving_stty

Yield a block using stty shell commands to preserve the terminal state.
def run_preserving_stty
  save_stty
  yield
ensure
  restore_stty
end