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

Function glut_int_handler

IPython/terminal/pt_inputhooks/glut.py:73–77  ·  view source on GitHub ↗
(signum, frame)

Source from the content-addressed store, hash-verified

71 glutMainLoopEvent()
72
73def glut_int_handler(signum, frame):
74 # Catch sigint and print the defaultipyt message
75 signal.signal(signal.SIGINT, signal.default_int_handler)
76 print('\nKeyboardInterrupt')
77 # Need to reprint the prompt at this stage
78
79# Initialisation code
80glut.glutInit( sys.argv )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected