mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
reset() should preserve existing geometry (rows/cols)
This commit is contained in:
@@ -2934,6 +2934,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