Open
Description
From time to time //bpython// crashes with a //_curses.error// exception, if I resize my terminal to often. In that case I lose all my code, so I think it would be nice to have some last resort to save the code.
I'd suggest that if an unhandled exception gets through, the entered code is dumped to //$XDG_DATA_HOME/bpython/dump//. On the next start of //bpython//, it checks if there is such a dump and asks the user if the dump should be loaded or not.
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/155
- Originally Reported By: Sebastian Ramacher
- Originally Created At: 2010-10-19T13:35:52.529