mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 11:38:27 +02:00
* Very very early work on FSE module
This commit is contained in:
parent
f56546cae5
commit
32fdbab88d
7 changed files with 117 additions and 56 deletions
|
@ -380,7 +380,6 @@ function defaultEofFromExtension(ext) {
|
|||
// :TODO: change to display(art, options, cb)
|
||||
// cb(err, mci)
|
||||
|
||||
// :TODO: display({ art : art, client : client, ...}, cb)
|
||||
function display(options, cb) {
|
||||
assert(_.isObject(options));
|
||||
assert(_.isObject(options.client));
|
||||
|
@ -445,7 +444,11 @@ function display(options, cb) {
|
|||
// options.client.term.write(ansi.blinkNormal());
|
||||
}
|
||||
|
||||
cb(null, mciMap);
|
||||
var extraInfo = {
|
||||
height : parser.row - 1
|
||||
};
|
||||
|
||||
cb(null, mciMap, extraInfo);
|
||||
}
|
||||
|
||||
options.client.on('cursor position report', cprListener);
|
||||
|
@ -454,6 +457,7 @@ function display(options, cb) {
|
|||
var nextPauseTermHeight = options.client.term.termHeight;
|
||||
var continous = false;
|
||||
|
||||
|
||||
/*
|
||||
parser.on('row update', function rowUpdate(row) {
|
||||
if(row >= nextPauseTermHeight) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue