@staticmethod
        def _catch_interrupt(signal_no, frame):
            # Stop pep-8 shouting at me for unused params I can't control.
            del frame

            # The OS already caught the ctrl-c, so inject it now for the next
            # input.
            if signal_no == signal.SIGINT:
                curses.ungetch(3)
            elif signal_no == signal.SIGTSTP:
                curses.ungetch(26)
            return
Used to inform replication listeners that something has happend
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_CursesScreen._catch_interrupt--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/notifier.py/Notifier.on_new_replication_data