From 19d2a83ba93abaef0d7b474c8314f62858a67dbd Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 2 Jul 2003 10:59:06 +0000 Subject: [PATCH] Ctrl-Z does not enable RAW-input mode when called with K_MSG mode set. --- src/sbbs3/inkey.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sbbs3/inkey.cpp b/src/sbbs3/inkey.cpp index 226cd1a56b..dd32bbab73 100644 --- a/src/sbbs3/inkey.cpp +++ b/src/sbbs3/inkey.cpp @@ -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++; -- GitLab