Commit 63335552 authored by rswindell's avatar rswindell
Browse files

Clear the screen from here (rather than depending on menu/header files or

text.dat strings to do it) by default. Set "clear_screen = false" in
[xtrn_sec] of modopts.ini to disable.
parent 50404a50
......@@ -68,6 +68,9 @@ if(options.underline === undefined)
if(options.which === undefined)
options.which = bbs.text(WhichXtrnProg);
if(options.clear_screen === undefined)
options.clear_screen = true;
function sort_by_name(a, b)
{
if(a.name.toLowerCase()>b.name.toLowerCase()) return 1;
......@@ -120,6 +123,9 @@ function external_program_menu(xsec)
exec_xtrn(prog_list[0]);
break;
}
if(options.clear_screen)
console.clear(LIGHTGRAY);
var secnum = xtrn_area.sec_list[xsec].number+1
if(bbs.menu_exists("xtrn" + secnum + "_head")) {
......
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