sagemath/sagecell — pull request #241 by kramer314 (2012-02-10 15:31:17+00:00)
Title: Be smarter about replacing session output

Previously, interact output would not display properly if multiple messages were required to receive the output for a given interact update.

This fixes gh-239. It also makes the session_end message contain an output block, which fixes an inconsistency in the messaging system.