mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-20 09:45:53 +02:00
Use new beforeArt
This commit is contained in:
parent
c2ee05bd51
commit
9e6af7f19b
1 changed files with 2 additions and 3 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue