diff --git a/src/xterm.js b/src/xterm.js index 7ab69b8d..ca5b642e 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -2303,6 +2303,9 @@ Terminal.prototype.index = function() { this.y--; this.scroll(); } + if (this.x >= this.cols) { + this.x--; + } };