MCPcopy Create free account
hub / github.com/ipython/ipython / glut_int_handler

Function glut_int_handler

IPython/lib/inputhookglut.py:114–118  ·  view source on GitHub ↗
(signum, frame)

Source from the content-addressed store, hash-verified

112 glutMainLoopEvent()
113
114def glut_int_handler(signum, frame):
115 # Catch sigint and print the default message
116 signal.signal(signal.SIGINT, signal.default_int_handler)
117 print('\nKeyboardInterrupt')
118 # Need to reprint the prompt at this stage
119
120
121

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected