Fix status screen misbehaving

pull/1/head
cpsdqs 7 years ago
parent eaec57948e
commit 15cdfa18da
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 1
      js/term/screen.js
  2. 1
      js/term/screen_renderer.js

@ -38,6 +38,7 @@ module.exports = class TermScreen extends EventEmitter {
if (target[key] !== value) { if (target[key] !== value) {
target[key] = value target[key] = value
self.updateLayout() self.updateLayout()
self.renderScreen(`window:${key}=${value}`)
self.emit(`update-window:${key}`, value) self.emit(`update-window:${key}`, value)
} }
return true return true

@ -62,6 +62,7 @@ module.exports = class CanvasRenderer extends EventEmitter {
this.screenSelection = [] this.screenSelection = []
this.cursor = {} this.cursor = {}
this.hasBlinkingCells = false this.hasBlinkingCells = false
this.statusScreen = null
this.resetDrawn() this.resetDrawn()

Loading…
Cancel
Save