* styleColor -> styleSGR1, styleSGR2

This commit is contained in:
Bryan Ashby 2015-04-30 16:41:43 -06:00
parent 04c85d2311
commit e8346779da
6 changed files with 28 additions and 44 deletions

View file

@ -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());