mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #13 from risacher/resize-reset
Fix chjj/tty.js#99, chjj/term.js#10; reset() should preserve existing geometry
This commit is contained in:
@@ -2937,6 +2937,8 @@ Terminal.prototype.reverseIndex = function() {
|
||||
|
||||
// ESC c Full Reset (RIS).
|
||||
Terminal.prototype.reset = function() {
|
||||
this.options.rows = this.rows;
|
||||
this.options.cols = this.cols;
|
||||
Terminal.call(this, this.options);
|
||||
this.refresh(0, this.rows - 1);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user