diff --git a/public/javascripts/terminal.js b/public/javascripts/terminal.js index ac4dab6..57495a7 100644 --- a/public/javascripts/terminal.js +++ b/public/javascripts/terminal.js @@ -329,6 +329,11 @@ SP.Terminal.prototype = { text = Utf8.decode(text); for (var i=0; i= this.cols) { + this.cursorLine += 1; + this.cursorCol = 0; + } + this.fill(this.cursorLine, this.cursorCol, 1, text[i]); this.cursorCol = this.cursorCol + 1; }