Skip to content

QTConsole wrongly promotes the index of the input line on which user presses Enter #732

Closed
jdmarch opened this Issue Aug 26, 2011 · 1 comment

2 participants

@jdmarch
jdmarch commented Aug 26, 2011

In standalone ipython, pressing Enter leaves the input index number unchanged, thus:

In [1]: 234
Out[1]: 234
In [2]:
In [2]:

But QTConsole promotes (wrongly, I think) the index of the input line on which you press Enter, thus:

In [1]: 234
Out[1]: 234
In [2]:
In [3]: 
@minrk
IPython member
minrk commented Oct 14, 2011

appears to have been fixed in master, though it's not quite identical.

In terminal:

In [1]: 234
Out[1]: 234
In [2]:
In [2]:

In QtConsole:

In [1]: 234
Out[1]: 234
In [1]:
In [2]:

(null input lines are demoted)

But the important part - adding empty lines does not increment the execution count - is correct.

@minrk minrk closed this Oct 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.