diff options
author | Florrie <towerofnix@gmail.com> | 2019-07-07 16:39:59 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-07-07 16:39:59 -0300 |
commit | 9210cbf5986f4e7b796d39fe36d81aeab1992ae3 (patch) | |
tree | 9a63ae09059a719ddc23e974b8a38a810a22c3de /util | |
parent | d569cc0db9994295860f48d254f630211c1806ad (diff) |
Emit 'resize' as well in TelnetInterfacer
Same as 'screenSizeUpdated'.
Diffstat (limited to 'util')
-rw-r--r-- | util/TelnetInterfacer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/TelnetInterfacer.js b/util/TelnetInterfacer.js index 410f8e9..dc71157 100644 --- a/util/TelnetInterfacer.js +++ b/util/TelnetInterfacer.js @@ -123,6 +123,7 @@ module.exports = class TelnetInterfacer extends EventEmitter { if (didSBNAWS && command[1] === 240) { // SE didSBNAWS = false this.emit('screenSizeUpdated', this.parseSBNAWS(sbNAWS)) + this.emit('resize', this.parseSBNAWS(sbNAWS)) continue } } |