erikrose/blessings — pull request #29 by vitek (2013-07-30 17:22:58+00:00)
Title: contextmanagers: Put state restore code into finally block

fullscreen() contextmanger doesn't restore state when exception occurs:

```
import blessings

term = blessings.Terminal()
with term.fullscreen():
raise KeyboardInterrupt
```

This patch fixes this.