mscdex / node-ncurses

An ncurses binding for node.js
MIT License
386 stars 25 forks source link

Error opening terminal: xterm-256color #29

Closed exu closed 11 years ago

exu commented 11 years ago

I'm gertting this error with my code:

var nc = require('ncurses'),
    win = new nc.Window();

win.hline(nc.cols, nc.ACS.DIAMOND);
mscdex commented 11 years ago

Try re-installing from npm now. If that still doesn't work, give npm install https://github.com/mscdex/node-ncurses/tarball/v0.4.0 a try.

On an semi-unrelated note, you'll want to win.refresh(); afterwards to update the screen.

exu commented 11 years ago

npm install https://github.com/mscdex/node-ncurses/tarball/v0.4.0 doing the job, great! closing.