Skip to content
Snippets Groups Projects
Commit 566a09f5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Update the node*/terminal.ini for every iteration of this menu

(as is/was done in useredit.cpp)

Fix the default download protocol columning display (missing final
newline in many cases).
parent cdd5d134
No related branches found
No related tags found
No related merge requests found
......@@ -236,8 +236,10 @@ while(bbs.online && !js.terminated) {
bbs.node_action = NODE_DFLT;
bbs.nodesync();
console.aborted = false;
if (user.number === thisuser.number)
if (user.number === thisuser.number) {
bbs.load_user_text();
console.term_updated();
}
var keys = display_menu(thisuser);
switch(console.getkeys(keys, K_UPPER)) {
......@@ -536,15 +538,16 @@ while(bbs.online && !js.terminated) {
if (!thisuser.compare_ars(file_cfg.protocol[code].ars)
|| file_cfg.protocol[code].dlcmd.length === 0)
continue;
if (c%2===1)
console.newline();
console.putmsg(format(bbs.text(bbs.text.TransferProtLstFmt)
,String(file_cfg.protocol[code].key)
,file_cfg.protocol[code].name));
keylist += String(file_cfg.protocol[code].key);
if (c%2===1)
console.newline();
c++;
}
console.newline();
console.mnemonics(bbs.text(bbs.text.ProtocolOrQuit));
var kp = console.getkeys(keylist);
if (kp === 'Q' || console.aborted)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment