Switch to Renegade style color codes as default pipe code system

This commit is contained in:
Bryan Ashby 2015-12-21 18:07:03 -07:00
parent 727f9fdb1f
commit 3ffccc35da
4 changed files with 45 additions and 41 deletions

View file

@ -89,8 +89,8 @@ function VerticalMenuView(options) {
// :TODO: Need to support pad()
// :TODO: shoudl we detect if pipe codes are used?
self.client.term.write(
ansi.goto(item.row, self.position.col) +
colorCodes.enigmaToAnsi(text)
ansi.goto(item.row, self.position.col) +
colorCodes.pipeToAnsi(text, self.client)
);
} else {