* Start of work on re-write of SGR stuff related to MCI codes

This commit is contained in:
Bryan Ashby 2015-04-29 15:38:20 -06:00
parent 48be2f69be
commit 3f29e3dba4
10 changed files with 110 additions and 94 deletions

View file

@ -76,8 +76,7 @@ function VerticalMenuView(options) {
}
self.client.term.write(ansi.goto(item.xPosition, self.position.y));
this.client.term.write(self.getANSIColor(
index === self.focusedItemIndex ? self.getFocusColor() : self.getColor()));
this.client.term.write(index === self.focusedItemIndex ? this.getFocusSGR() : this.getSGR());
var text = strUtil.stylizeString(item.text, item.focused ? self.focusTextStyle : self.textStyle);