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

Diff of /lbbs/src/screen.c

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

Revision 1.64 by sysadm, Mon May 19 01:44:49 2025 UTC Revision 1.65 by sysadm, Mon May 19 06:55:06 2025 UTC
# Line 501  int show_active_board() Line 501  int show_active_board()
501          static const void *p_data;          static const void *p_data;
502          static const long *p_line_offsets;          static const long *p_line_offsets;
503    
504            static time_t t_last_show = 0;
505            static int line_last = 0;
506    
507          char buffer[LINE_BUFFER_LEN];          char buffer[LINE_BUFFER_LEN];
508          long int len;          long int len;
509    
# Line 513  int show_active_board() Line 516  int show_active_board()
516                  }                  }
517          }          }
518    
519            if (time(0) - t_last_show >= 10)
520            {
521                    line_last = line_current;
522                    t_last_show = time(0);
523            }
524            else
525            {
526                    line_current = line_last;
527            }
528    
529          clrline(2, 2 + ACTIVE_BOARD_HEIGHT);          clrline(2, 2 + ACTIVE_BOARD_HEIGHT);
530    
531          for (int i = 0; i < ACTIVE_BOARD_HEIGHT; i++)          for (int i = 0; i < ACTIVE_BOARD_HEIGHT; i++)


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

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