mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 19:48:23 +02:00
* Again change ANSI font handling
* Add prompt.json
This commit is contained in:
parent
1e3e0b8baa
commit
91d395e8bc
7 changed files with 188 additions and 18 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue