--- lbbs/include/editor.h 2025/06/15 13:40:52 1.6 +++ lbbs/include/editor.h 2025/07/02 04:17:33 1.7 @@ -25,7 +25,8 @@ struct editor_data_t { char *p_display_lines[MAX_EDITOR_DATA_LINES]; - long display_line_lengths[MAX_EDITOR_DATA_LINES]; + long display_line_lengths[MAX_EDITOR_DATA_LINES]; // string length of display line + int display_line_widths[MAX_EDITOR_DATA_LINES]; // display width of display line long display_line_total; }; typedef struct editor_data_t EDITOR_DATA;