mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-20 09:45:53 +02:00
* JSONCache for caching JSON data (vs reading + parsing every time)
* Minor changes
This commit is contained in:
parent
306e84b323
commit
89adc83fc6
9 changed files with 149 additions and 52 deletions
|
@ -458,7 +458,6 @@ function display(options, cb) {
|
|||
var continous = false;
|
||||
|
||||
|
||||
/*
|
||||
parser.on('row update', function rowUpdate(row) {
|
||||
if(row >= nextPauseTermHeight) {
|
||||
if(!continous && 'termHeight' === options.pause) {
|
||||
|
@ -475,7 +474,6 @@ function display(options, cb) {
|
|||
nextPauseTermHeight += options.client.term.termHeight;
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
parser.on('mci', function mciEncountered(mciInfo) {
|
||||
|
||||
|
@ -507,7 +505,7 @@ function display(options, cb) {
|
|||
|
||||
mciPosQueue.push(mapKey);
|
||||
|
||||
options.client.term.rawWrite(ansi.queryPos());
|
||||
options.client.term.write(ansi.queryPos(), false);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -542,12 +540,12 @@ function display(options, cb) {
|
|||
}
|
||||
|
||||
if(ansiFont.length > 1) {
|
||||
options.client.term.rawWrite(ansiFont);
|
||||
options.client.term.write(ansiFont, false);
|
||||
}
|
||||
|
||||
|
||||
if(iceColors) {
|
||||
options.client.term.rawWrite(ansi.blinkToBrightIntensity());
|
||||
options.client.term.write(ansi.blinkToBrightIntensity(), false);
|
||||
}
|
||||
|
||||
parser.reset(options.art);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue