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

Set the attribute to LIGHTGRAY before clearing the screen. This helps with

the "darkgray" background issue when using xterm.
Apparently if the foreground attribute has the high intensity attribute set
and a CRLF or a clear-screen sequence is sent, the new (blank) lines (normally,
black) will have the high intensity *background* attribute set (or it just
looks that way). I don't understand why... yet.
parent 2c37df92
Branches
Tags
No related merge requests found
......@@ -133,7 +133,7 @@ var random_list = directory(system.text_dir + "menu/random*.*");
if(random_list.length)
bbs.menu(file_getname(random_list[random(random_list.length)]).slice(0,-4));
console.clear();
console.clear(LIGHTGRAY);
bbs.user_event(EVENT_LOGON);
if(user.security.level==99 /* Sysop logging on */
......@@ -228,7 +228,7 @@ if(user.settings&USER_HTML) {
else {
// Last few callers
console.aborted=false;
console.clear();
console.clear(LIGHTGRAY);
logonlst=system.data_dir + "logon.lst"
if(file_size(logonlst)<1)
printf("\1n\1g\1hYou are the first caller of the day!\r\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment