Skip to content

dump session on unhandled exceptions #155

Open
@ikanobori

Description

@ikanobori

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.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions