--- lbbs/src/screen.c 2025/05/30 12:51:00 1.82 +++ lbbs/src/screen.c 2025/05/31 01:37:18 1.83 @@ -329,6 +329,10 @@ int display_data(const void *p_data, lon break; case KEY_END: line_current = line_total - (SCREEN_ROWS - 2); + if (line_current < 0) + { + line_current = 0; + } line = begin_line; max_lines = SCREEN_ROWS - 1; clrline(begin_line, SCREEN_ROWS);