class Guard::Jobs::PryWrapper

def foreground

def foreground
  UI.debug "Start interactor"
  @terminal_settings.save
  _switch_to_pry
  # TODO: rename :stopped to continue
  _killed? ? :stopped : :exit
ensure
  UI.reset_line
  UI.debug "Interactor was stopped or killed"
  @terminal_settings.restore
end