Add cleanup handler to restore terminal state
Add cleanup handler to restore terminal state

Closes #402

byo/restic,middelink/restic,jayme-github/restic,ar-jan/restic,fawick/restic,bchapuis/restic,ckemper67/restic,fawick/restic,ar-jan/restic,byo/restic,restic/restic,middelink/restic,stuertz/restic,arithmetric/restic,jayme-github/restic,mappu/restic,kurin/restic,stuertz/restic,kurin/restic,restic/restic