mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 13:16:49 +00:00
minor.
This commit is contained in:
parent
e11e0044ef
commit
009b4bbee9
@ -190,12 +190,12 @@ list.on('select', function(el, selected) {
|
||||
screen.render();
|
||||
|
||||
if (process.argv[2] === '--debug' || process.argv[2] === '--save') {
|
||||
// var sgr = screen.sgrImage(
|
||||
// var sgr = screen.screenshot(
|
||||
// art.lpos.xi + art.ileft,
|
||||
// art.lpos.xl - art.iright,
|
||||
// art.lpos.yi + art.itop,
|
||||
// art.lpos.yl - art.ibottom);
|
||||
var sgr = screen.sgrImage(
|
||||
var sgr = screen.screenshot(
|
||||
0, art.term.lines[0].length,
|
||||
0, art.term.lines.length,
|
||||
art.term);
|
||||
@ -233,7 +233,7 @@ function cp437ToUtf8(buf, callback) {
|
||||
}
|
||||
}
|
||||
|
||||
screen.__proto__.sgrImage = function(xi, xl, yi, yl, term) {
|
||||
screen.__proto__.screenshot = function(xi, xl, yi, yl, term) {
|
||||
var x
|
||||
, y
|
||||
, line
|
||||
|
||||
Loading…
Reference in New Issue
Block a user