Permalink
Browse files

re-patch blessed

  • Loading branch information...
Yaron Naveh
Yaron Naveh committed Apr 1, 2016
1 parent fd4285e commit f2858e18167e4e53f522b89d434d0157ee9e66fa
Showing with 4 additions and 5 deletions.
  1. +3 −2 server/presenter.js
  2. +1 −3 server/server.js
@@ -69,8 +69,9 @@ function present(req, res, body, cba) {
}

function clean(screen) {
screen.program.destroy()
screen.destroy()
//TODO this code is very sensitive to blessed versions, need to check right version/usage
//screen.program.destroy()
//screen.destroy()
}

module.exports = present
@@ -2,9 +2,7 @@

var blessed = require('blessed')

//no need as of blessed@0.1.15
//patchBlessed()

patchBlessed()

var http = require('http')
, url = require('url')

0 comments on commit f2858e1

Please sign in to comment.