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

Handle control keys locally if TG_CTRLKEYS is set and TG_LINEMODE is not

set (previously, TG_CTRLKEYS only worked if TG_LINEMODE was set).
parent 841a9e67
No related branches found
No related tags found
No related merge requests found
......@@ -187,6 +187,8 @@ void sbbs_t::telnet_gate(char* destaddr, ulong mode)
attr(LIGHTGRAY);
console=save_console;
}
else if(*buf<' ' && mode&TG_CTRLKEYS)
handle_ctrlkey(*buf, K_NONE);
gotline=false;
if(mode&TG_LINEMODE && buf[0]!='\r') {
ungetkey(buf[0]);
......
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