mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 22:54:37 +02:00
* styleColor -> styleSGR1, styleSGR2
This commit is contained in:
parent
04c85d2311
commit
e8346779da
6 changed files with 28 additions and 44 deletions
|
@ -67,9 +67,8 @@ function View(options) {
|
|||
this.ansiSGR = options.ansiSGR || ansi.getSGRFromGraphicRendition( { fg : 39, bg : 49 }, true);
|
||||
this.ansiFocusSGR = options.ansiFocusSGR || this.ansiSGR;
|
||||
|
||||
if(options.styleColor1) {
|
||||
this.styleColor1 = options.styleColor1;
|
||||
}
|
||||
this.styleSGR1 = options.styleSGR1 || this.ansiSGR;
|
||||
this.styleSGR2 = options.styleSGR2 || this.ansiFocusSGR;
|
||||
|
||||
if(this.acceptsInput) {
|
||||
this.specialKeyMap = options.specialKeyMap || VIEW_SPECIAL_KEY_MAP_DEFAULT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue