Say, I typed
In [1]: def foo(a, b):
...: return a+b
...:
in the normal, non-emacs ipython shell. Pressing the up
arrow key afterwards, allows me to get the complete multi-line input back which I then can edit.
In [2]: def foo(a, b):
return a+b_
where _
represents the cursor. Can I replicate this behaviour in Emacs's ipython shell?