diff --git a/src/term.js b/src/term.js index f26617d..744b3f8 100644 --- a/src/term.js +++ b/src/term.js @@ -1473,6 +1473,9 @@ Terminal.prototype.write = function(data) { case '\x08': if (this.x > 0) { this.x--; + } else { + this.x = this.cols; + this.y--; } break;