...
 
Commits (2)
......@@ -82,6 +82,7 @@
; section_which: \r\n\1-\1gWhich, \1w\1h~Q\1n\1guit or [1]: \1h
; uncomment and modify any of the below to change the look of the external programs menu
; to remove titles or underline, set to the text ' '
; header_fmt: \1n\1c\1h%s \1n\1cExternal Programs:\r\n\r\n
; titles: \1n\1cNum \1h\xb3\1n\1c Name \1n\1c
; multicolumn_fmt: \1h\1c%3u \xb3 \1n\1c%-32.32s \1h
......
......@@ -138,16 +138,21 @@ function external_program_menu(xsec)
if(options.sort)
prog_list.sort(sort_by_name);
printf(options.header_fmt, xtrn_area.sec_list[xsec].name);
write(options.titles);
if(options.titles.trimRight() != '')
write(options.titles);
if(multicolumn) {
write(options.multicolumn_separator);
write(options.titles);
if (options.titles.trimRight() != '')
write(options.titles);
}
if(options.underline.trimRight() != '') {
console.crlf();
write(options.underline);
}
console.crlf();
write(options.underline);
if(multicolumn) {
write(options.multicolumn_separator);
write(options.underline);
if (options.underline.trimRight() != '')
write(options.underline);
}
console.crlf();
var n;
......