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