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

When user is not online (yet), inkey() shall return the ctrl-key values for

^U, ^P, ^T, ^K, etc. and not 0. This allows a CBM/PETSCII terminal user
to actual hit their Backspace/Delete key (^T) in response to the new new-user
prompt
parent 921f20b1
Branches
Tags
No related merge requests found
......@@ -202,7 +202,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
return(0);
case CTRL_P: /* Ctrl-P Private node-node comm */
if(!(sys_status&SS_USERON))
return(0); /* keep from being recursive */
break;;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......@@ -225,9 +225,8 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
return(0);
case CTRL_U: /* Ctrl-U Users online */
/* needs recursion checking */
if(!(sys_status&SS_USERON))
return(0);
break;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......@@ -251,7 +250,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
if(sys_status&SS_SPLITP)
return(ch);
if(!(sys_status&SS_USERON))
return(0);
break;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......@@ -277,7 +276,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
if(sys_status&SS_SPLITP)
return(ch);
if(!(sys_status&SS_USERON))
return(0);
break;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment