Reset terminal styling on exit