Ctrl-Enter clears line in notebook #740

Closed
takluyver opened this Issue Aug 27, 2011 · 3 comments

Projects

None yet

3 participants

@takluyver
IPython member

Ctrl-enter should immediately execute the current line, and move to a new line within the new cell, and it does in Chrome. But in Firefox, it seems to clear the current line without executing it, and move to a new line.

Tested in Firefox 6 (Ubuntu), with Tornado from git today.

@minrk
IPython member

Not quite my experience. Also, there's no new cell, ctrl-Enter is for executing a series of commands in one cell (e.g. ls, cd, etc. things you don't actually want to be part of the notebook).

In Chrome: ctrl-Enter executes the cell, and leaves the input selected, so typing the next command will clear it (this is the correct behavior).
In FF6: ctrl-Enter executes, but clears input and adds a newline, which it shouldn't. It is essentially equivalent to the Chrome behavior followed by hitting 'Enter'.

@takluyver
IPython member

OK, for some reason when I tried it before I didn't think it was executing, but having tried it again, it seems I was wrong about that.

@ellisonbg
IPython member
@minrk minrk closed this Sep 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment