From 54bbc2ace20f067892218013f1f6767d83611849 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 25 Oct 2018 23:04:59 +0000 Subject: [PATCH] Use bbs.menu() instead of console.printfile() to display the bullseye menu file (text/bullseye.*), so you can use terminal-custom screen files. Thanks, Nelgin! --- exec/bullseye.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/exec/bullseye.js b/exec/bullseye.js index 2c0e325532..1629818ec7 100644 --- a/exec/bullseye.js +++ b/exec/bullseye.js @@ -52,13 +52,8 @@ while((str=file.readln())!=null) { menu: while(1) { - if(html) { - console.printfile(system.text_dir+"bullseye.html"); - } - else { - console.printfile(system.text_dir+"bullseye.asc"); - write("\001n\r\n\001b\001hEnter number of bulletin to view or press (\001wENTER\001b) to continue: \001w"); - } + bbs.menu("../bullseye"); + write("\001n\r\n\001b\001hEnter number of bulletin to view or press (\001wENTER\001b) to continue: \001w"); b=console.getnum(total); if(b<1) exit(0); -- GitLab