mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
* styleColor -> styleSGR1, styleSGR2
This commit is contained in:
parent
04c85d2311
commit
e8346779da
6 changed files with 28 additions and 44 deletions
|
@ -49,8 +49,10 @@ ToggleMenuView.prototype.redraw = function() {
|
|||
//console.log(this.styleColor1)
|
||||
//var sepColor = this.getANSIColor(this.styleColor1 || this.getColor());
|
||||
//console.log(sepColor.substr(1))
|
||||
var sepColor = '\u001b[0m\u001b[1;30m'; // :TODO: FIX ME!!!
|
||||
this.client.term.write(sepColor + ' / ');
|
||||
//var sepColor = '\u001b[0m\u001b[1;30m'; // :TODO: FIX ME!!!
|
||||
// :TODO: sepChar needs to be configurable!!!
|
||||
this.client.term.write(this.styleSGR1 + ' / ');
|
||||
//this.client.term.write(sepColor + ' / ');
|
||||
}
|
||||
|
||||
this.client.term.write(i === this.focusedItemIndex ? this.getFocusSGR() : this.getSGR());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue