Commit 67df6822 authored by rswindell's avatar rswindell
Browse files

Fixed method of detecting ANSI terminal support: use console.term_supports()

parent 05b9f1c8
// $Id$
require("sbbsdefs.js", 'CON_BLINK_FONT');
require("userdefs.js", 'USER_ICE_COLOR');
if(user.settings & USER_ANSI) {
if(console.term_supports(USER_ANSI)) {
if(argv.indexOf("force") >=0 || !(console.status&(CON_BLINK_FONT|CON_HBLINK_FONT))) {
var cterm = load({}, "cterm_lib.js");
cterm.bright_background(Boolean(user.settings & USER_ICE_COLOR));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment