--- lbbs/src/editor.c 2025/07/20 02:04:21 1.40 +++ lbbs/src/editor.c 2025/09/30 06:05:48 1.42 @@ -807,7 +807,7 @@ int editor_display(EDITOR_DATA *p_editor { col_pos = 1; } - if (ch != CR) + if (offset_out > 0) { col_pos += (str_len == 1 ? 1 : 2); } @@ -920,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