I've also coded the pyglet version for the event loop integration. https://github.com/rougier/ipython/compare/master…pyglet (I posted the announce to pyglet users forum and waiting for some feedback before asking for merge). Nicolas