--- lbbs/src/editor.c 2025/07/02 04:17:33 1.39 +++ lbbs/src/editor.c 2025/09/28 11:18:28 1.41 @@ -729,7 +729,9 @@ int editor_display(EDITOR_DATA *p_editor ch = igetch(100); // 0.1 second if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input { +#ifdef _DEBUG log_error("Ignore %d bytes of incomplete UTF8 character\n", str_len); +#endif str_len = 0; break; } @@ -918,6 +920,7 @@ int editor_display(EDITOR_DATA *p_editor case KEY_TIMEOUT: goto cleanup; case Ctrl('W'): + case Ctrl('X'): loop = 0; break; case Ctrl('S'): // Start of line