From d8cbf926b0a11d1333fd813ceb996683766ad072 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Tue, 30 Nov 2021 18:47:54 -0800 Subject: [PATCH] Add a debug line when wrapping split-screen chat lines. Is this the point when the lost chars problem happens? --- src/sbbs3/chat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/chat.cpp b/src/sbbs3/chat.cpp index 5d31dcdcc8..7f085476d2 100644 --- a/src/sbbs3/chat.cpp +++ b/src/sbbs3/chat.cpp @@ -1023,6 +1023,7 @@ void sbbs_t::privchat(bool forced, int node_num) if(ch==CR || (localchar>68 && ch==' ') || ++localchar>78) { + lprintf(LOG_DEBUG, "chat line wrapped, localchar=%d, ch=%x", localchar, ch); localbuf[localline][localchar]=0; localchar=0; -- GitLab