Skip to content
Snippets Groups Projects
Commit c0fab43b authored by rswindell's avatar rswindell
Browse files

A small script to set the user's terminal settings (e.g. in their client)

to match the settings on the BBS-side (e.g. iCE colors enabled/disabled).
parent 4897ec2a
Branches
Tags
No related merge requests found
require("sbbsdefs.js", 'CON_BLINK_FONT');
require("userdefs.js", 'USER_ICE_COLOR');
if(user.settings & 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));
}
console.ansi_getlines();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment