/[LeafOK_CVS]/lbbs/src/editor.c
ViewVC logotype

Diff of /lbbs/src/editor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.33 by sysadm, Fri Jun 27 12:54:31 2025 UTC Revision 1.35 by sysadm, Fri Jun 27 14:09:50 2025 UTC
# Line 675  int editor_display(EDITOR_DATA *p_editor Line 675  int editor_display(EDITOR_DATA *p_editor
675                  return ch;                  return ch;
676          }          }
677    
678          loop = 1;          for (loop = 1; !SYS_server_exit && loop;)
         while (!SYS_server_exit && loop)  
679          {          {
680                  if (line_current >= p_editor_data->display_line_total || output_current_row > output_end_row)                  if (line_current >= p_editor_data->display_line_total || output_current_row > output_end_row)
681                  {                  {
# Line 812  int editor_display(EDITOR_DATA *p_editor Line 811  int editor_display(EDITOR_DATA *p_editor
811                                          {                                          {
812                                                  if (line_current - output_current_row + row_pos <= 0 && col_pos <= 1) // Forbidden                                                  if (line_current - output_current_row + row_pos <= 0 && col_pos <= 1) // Forbidden
813                                                  {                                                  {
814                                                          ch = igetch_t(MAX_DELAY_TIME);                                                          break; // force output prior operation result if any
                                                         continue;  
815                                                  }                                                  }
816    
817                                                  col_pos--;                                                  col_pos--;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1