diff --git a/esl_reader.py b/esl_reader.py index 5a72b91..acb87f2 100755 --- a/esl_reader.py +++ b/esl_reader.py @@ -6,8 +6,10 @@ # Reading scroll with speed control # Ability to edit text with updates to word-section links # +import faulthandler import os import re +import signal import sys from typing import Optional, cast @@ -320,4 +322,7 @@ if __name__ == "__main__": # XXX - Update the Makefile so that we can run a `make -q` will # report back if make needs to be run. # + faulthandler.enable() + faulthandler.register(signal.SIGHUP) + faulthandler.register(signal.SIGUSR1) sys.exit(main())