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

Ctrl-Z does not enable RAW-input mode when called with K_MSG mode set.

parent dd66fe43
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,8 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
bputs("\b \b");
return(0);
}
if(ch==CTRL_Z && action!=NODE_PCHT) { /* Ctrl-Z toggle raw input mode */
if(ch==CTRL_Z && !(mode&K_MSG)
&& action!=NODE_PCHT) { /* Ctrl-Z toggle raw input mode */
if(hotkey_inside>1) /* only allow so much recursion */
return(0);
hotkey_inside++;
......
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