Show More
@@ -102,6 +102,16 b' var IPython = (function (IPython) {' | |||
|
102 | 102 | $([IPython.events]).on('status_interrupting.Kernel',function () { |
|
103 | 103 | knw.set_message("Interrupting kernel", 2000); |
|
104 | 104 | }); |
|
105 | ||
|
106 | // Start the kernel indicator in the busy state, and send a kernel_info request. | |
|
107 | // When the kernel_info reply arrives, the kernel is idle. | |
|
108 | $kernel_ind_icon.attr('class','icon-circle').attr('title','Kernel Busy'); | |
|
109 | ||
|
110 | $([IPython.events]).on('status_started.Kernel', function (evt, data) { | |
|
111 | data.kernel.kernel_info(function () { | |
|
112 | $([IPython.events]).trigger('status_idle.Kernel'); | |
|
113 | }); | |
|
114 | }); | |
|
105 | 115 | |
|
106 | 116 | $([IPython.events]).on('status_dead.Kernel',function () { |
|
107 | 117 | var msg = 'The kernel has died, and the automatic restart has failed.' + |
General Comments 0
You need to be logged in to leave comments.
Login now