Use new beforeArt

This commit is contained in:
Bryan Ashby 2016-06-28 23:07:15 -06:00
parent c2ee05bd51
commit 9e6af7f19b

View file

@ -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));