Skip to content
Snippets Groups Projects
Commit f3a6f308 authored by rswindell's avatar rswindell
Browse files

This is a better fix. /me forgot that inkey() supported a timeout value.

parent b905ea0b
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ while(bbs.online) {
console.mnemonics("~Telegram, ~Message, ~List, or ~Quit: ");
bbs.sys_status&=~SS_ABORT;
while(bbs.online && !(bbs.sys_status&SS_ABORT)) {
key=console.inkey(K_UPPER);
key=console.inkey(K_UPPER, 500);
if(key=='Q' || key=='L' || key=='T' || key=='M' || key=='\r')
break;
if(system.node_list[bbs.node_num-1].misc&(NODE_MSGW|NODE_NMSG)) {
......@@ -365,7 +365,6 @@ while(bbs.online) {
console.crlf();
console.restoreline();
}
sleep(100);
}
// printf("key=%s\r\n",key);
switch(key) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment