* Again change ANSI font handling

* Add prompt.json
This commit is contained in:
Bryan Ashby 2015-04-23 23:00:48 -06:00
parent 1e3e0b8baa
commit 91d395e8bc
7 changed files with 188 additions and 18 deletions

View file

@ -498,12 +498,15 @@ function display(options, cb) {
var ansiFont = '';
if(options.font) {
// :TODO: how to set to ignore SAUCE?
ansiFont = ansi.setFont(options.font);
ansiFont = ansi.setSyncTERMFont(options.font);
} else if(options.sauce) {
var fontName = getFontNameFromSAUCE(options.sauce);
if(fontName) {
fontName = ansi.getSyncTERMFontFromAlias(fontName);
}
if(fontName) {
ansiFont = ansi.setFont(fontName);
ansiFont = ansi.setSyncTERMFont(fontName);
}
}