mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
set 'In [*]' to indicate pending code cell
This commit is contained in:
parent
83ddbf5987
commit
0e4afee63b
@ -829,6 +829,7 @@ var IPython = (function (IPython) {
|
||||
var cell_index = that.find_cell_index(cell);
|
||||
if (cell instanceof IPython.CodeCell) {
|
||||
cell.clear_output(true, true, true);
|
||||
cell.set_input_prompt('*');
|
||||
var code = cell.get_code();
|
||||
var msg_id = that.kernel.execute(cell.get_code());
|
||||
that.msg_cell_map[msg_id] = cell.cell_id;
|
||||
|
Loading…
Reference in New Issue
Block a user