substack/browser-unix — pull request #4 by itsjoesullivan (2013-10-18 20:25:15+00:00)
Title: getText() also adds status (--INSERT--)

curDoc._lines is where the text of the document literally resides; view.getText() renders what you want to see on the screen