mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix index behavior
Don't wrap cursor to column 0 after an index, fixes 2 tests
This commit is contained in:
@@ -2303,6 +2303,9 @@ Terminal.prototype.index = function() {
|
||||
this.y--;
|
||||
this.scroll();
|
||||
}
|
||||
if (this.x >= this.cols) {
|
||||
this.x--;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user