« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/util/TelnetInterfacer.js
diff options
context:
space:
mode:
Diffstat (limited to 'util/TelnetInterfacer.js')
-rw-r--r--util/TelnetInterfacer.js1
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
       }
     }