Enable loading a page and overwriting its contents with a file
This commit is contained in:
@@ -43,10 +43,12 @@ function rawtoattrs(contents,width,yoffset,xoffset,debug) {
|
||||
|
||||
// @todo temp hack, rework ansi variable - perhaps have a function that converts an attribute back into an ANSI sequence
|
||||
var ansi = { i: 0, f: 37, b: 40 };
|
||||
var line;
|
||||
var x;
|
||||
|
||||
while (lines.length > 0) {
|
||||
var x = 0;
|
||||
var line = lines.shift();
|
||||
x = 0;
|
||||
line = lines.shift();
|
||||
|
||||
if ((debug !== undefined) && (y > debug)) {
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user