rename sgrRegion.

This commit is contained in:
Christopher Jeffrey 2015-04-21 04:45:33 -07:00
parent cb977ca08f
commit e11e0044ef
1 changed files with 3 additions and 3 deletions

View File

@ -190,12 +190,12 @@ list.on('select', function(el, selected) {
screen.render(); screen.render();
if (process.argv[2] === '--debug' || process.argv[2] === '--save') { if (process.argv[2] === '--debug' || process.argv[2] === '--save') {
// var sgr = screen.sgrRegion( // var sgr = screen.sgrImage(
// art.lpos.xi + art.ileft, // art.lpos.xi + art.ileft,
// art.lpos.xl - art.iright, // art.lpos.xl - art.iright,
// art.lpos.yi + art.itop, // art.lpos.yi + art.itop,
// art.lpos.yl - art.ibottom); // art.lpos.yl - art.ibottom);
var sgr = screen.sgrRegion( var sgr = screen.sgrImage(
0, art.term.lines[0].length, 0, art.term.lines[0].length,
0, art.term.lines.length, 0, art.term.lines.length,
art.term); art.term);
@ -233,7 +233,7 @@ function cp437ToUtf8(buf, callback) {
} }
} }
screen.__proto__.sgrRegion = function(xi, xl, yi, yl, term) { screen.__proto__.sgrImage = function(xi, xl, yi, yl, term) {
var x var x
, y , y
, line , line