An empty line is inserted before the multi-line output in the method 
write_format_data of IPython.core.displayhook.Displayhook. I guess 
self.prompt_end_newline should be True for the Sage CLI.

But the method write_output_prompt of 
IPython.terminal.RichPromptDisplayHook sets this to False. I guess 
overriding this method fixes this problem.

Best regards,
Sho Takemori

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to