By default, the IPython shell shows a blank line between inputs:
In [1]: 1 + 1
Out[1]: 2
In [2]: import math
In [3]: math.sqrt(2)
Out[3]: 1.4142135623730951
In [4]:
Is there any way to configure the IPython shell so that it does not produce a blank line between each command history? This would significantly increase the amount of history I would be able to see on my screen.
hist(short forhistory) prints input history without blank lines.