Use new beforeArt
This commit is contained in:
@@ -317,7 +317,7 @@ function FullScreenEditorModule(options) {
|
|||||||
// in NetRunner:
|
// in NetRunner:
|
||||||
self.client.term.rawWrite(ansi.reset() + ansi.deleteLine(3));
|
self.client.term.rawWrite(ansi.reset() + ansi.deleteLine(3));
|
||||||
|
|
||||||
self.client.term.rawWrite(ansi.reset() + ansi.eraseLine(2))
|
self.client.term.rawWrite(ansi.reset() + ansi.eraseLine(2));
|
||||||
}
|
}
|
||||||
callback(null);
|
callback(null);
|
||||||
},
|
},
|
||||||
@@ -424,8 +424,7 @@ function FullScreenEditorModule(options) {
|
|||||||
async.series(
|
async.series(
|
||||||
[
|
[
|
||||||
function beforeDisplayArt(callback) {
|
function beforeDisplayArt(callback) {
|
||||||
self.beforeArt();
|
self.beforeArt(callback);
|
||||||
callback(null);
|
|
||||||
},
|
},
|
||||||
function displayHeaderAndBodyArt(callback) {
|
function displayHeaderAndBodyArt(callback) {
|
||||||
assert(_.isString(art.header));
|
assert(_.isString(art.header));
|
||||||
|
|||||||
Reference in New Issue
Block a user