i hit an issue on-stream which kept me from implementing a cool demo, I found an emacs org-mode mailing list post from 2010 describing the same issue: it struggles to find my prompt to know when output is finished. https://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00260.html