mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-25 08:47:40 +00:00
Merge pull request #525 from LucianBuzzo/resize
Fix issue when resizing hidden terminals
This commit is contained in:
commit
03e46fbdee
@ -1715,6 +1715,10 @@ Terminal.prototype.error = function() {
|
||||
* @param {number} y The number of rows to resize to.
|
||||
*/
|
||||
Terminal.prototype.resize = function(x, y) {
|
||||
if (Number.isNaN(x) || Number.isNaN(y)) {
|
||||
return;
|
||||
}
|
||||
|
||||
var line
|
||||
, el
|
||||
, i
|
||||
|
||||
Loading…
Reference in New Issue
Block a user