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
Branches
Tags
No related merge requests found
...@@ -236,8 +236,10 @@ while(bbs.online && !js.terminated) { ...@@ -236,8 +236,10 @@ while(bbs.online && !js.terminated) {
bbs.node_action = NODE_DFLT; bbs.node_action = NODE_DFLT;
bbs.nodesync(); bbs.nodesync();
console.aborted = false; console.aborted = false;
if (user.number === thisuser.number) if (user.number === thisuser.number) {
bbs.load_user_text(); bbs.load_user_text();
console.term_updated();
}
var keys = display_menu(thisuser); var keys = display_menu(thisuser);
switch(console.getkeys(keys, K_UPPER)) { switch(console.getkeys(keys, K_UPPER)) {
...@@ -536,15 +538,16 @@ while(bbs.online && !js.terminated) { ...@@ -536,15 +538,16 @@ while(bbs.online && !js.terminated) {
if (!thisuser.compare_ars(file_cfg.protocol[code].ars) if (!thisuser.compare_ars(file_cfg.protocol[code].ars)
|| file_cfg.protocol[code].dlcmd.length === 0) || file_cfg.protocol[code].dlcmd.length === 0)
continue; continue;
if (c%2===1)
console.newline();
console.putmsg(format(bbs.text(bbs.text.TransferProtLstFmt) console.putmsg(format(bbs.text(bbs.text.TransferProtLstFmt)
,String(file_cfg.protocol[code].key) ,String(file_cfg.protocol[code].key)
,file_cfg.protocol[code].name)); ,file_cfg.protocol[code].name));
keylist += String(file_cfg.protocol[code].key); keylist += String(file_cfg.protocol[code].key);
if (c%2===1)
console.newline();
c++; c++;
} }
console.newline();
console.mnemonics(bbs.text(bbs.text.ProtocolOrQuit)); console.mnemonics(bbs.text(bbs.text.ProtocolOrQuit));
var kp = console.getkeys(keylist); var kp = console.getkeys(keylist);
if (kp === 'Q' || console.aborted) 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