<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 22 October 2014 13:22, Paul Moore <span dir="ltr"><<a href="mailto:p.f.moore@gmail.com" target="_blank">p.f.moore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1nx" class="a3s" style="overflow:hidden">One oddity. It appears that within a session with<br>
--TerminalInteractiveShell.multiline_history=True, up arrow recalls<br>
history line by line, not multi-line. But exiting and restarting<br>
*does* get the multi-line history. </div></blockquote></div><br></div><div class="gmail_extra">When you restart IPython, we only need to fill the readline history from our own database. Within the session, we need to replace what readline automatically records with the multiline history we assemble. So I'm not surprised that it actually works better with history from previous sessions.<br><br></div><div class="gmail_extra">Thomas<br></div></div>