ba643ecf4e83982425f7a54f1071c62c usr/share/doc/libcurses-ui-perl/changelog.Debian.gz 3f7dd6162db88675a3b80c367338f791 usr/share/doc/libcurses-ui-perl/changelog.gz ...
should be the rest of your curses-based application. If the application raises an exception, wrapper() will restore the terminal to a sane state so you can read the resulting traceback.