mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
* Start of work on re-write of SGR stuff related to MCI codes
This commit is contained in:
parent
48be2f69be
commit
3f29e3dba4
10 changed files with 110 additions and 94 deletions
13
core/art.js
13
core/art.js
|
@ -456,22 +456,29 @@ function display(options, cb) {
|
|||
var mapItem = mciCode + id;
|
||||
// :TODO: Avoid mutiple [] lookups here
|
||||
if(mci[mapItem]) {
|
||||
mci[mapItem].focusGraphicRendition = parser.graphicRendition;
|
||||
|
||||
/*
|
||||
mci[mapItem].focusColor = {
|
||||
fg : parser.fgColor,
|
||||
bg : parser.bgColor,
|
||||
flags : parser.style,
|
||||
};
|
||||
*/
|
||||
mci[mapItem].focusArgs = args;
|
||||
} else {
|
||||
mci[mapItem] = {
|
||||
args : args,
|
||||
args : args,
|
||||
/*
|
||||
color : {
|
||||
fg : parser.fgColor,
|
||||
bg : parser.bgColor,
|
||||
flags : parser.style,
|
||||
},
|
||||
code : mciCode,
|
||||
id : parseInt(id, 10),
|
||||
*/
|
||||
graphicRendition : parser.graphicRendition,
|
||||
code : mciCode,
|
||||
id : parseInt(id, 10),
|
||||
};
|
||||
|
||||
mciPosQueue.push(mapItem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue