/[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.131 by sysadm, Thu Nov 20 09:02:46 2025 UTC Revision 1.134 by sysadm, Wed Dec 17 03:47:00 2025 UTC
# Line 88  void clrtobot(int line_begin) Line 88  void clrtobot(int line_begin)
88  void clearscr()  void clearscr()
89  {  {
90          prints("\033[2J");          prints("\033[2J");
91          moveto(0, 0);          moveto(1, 1);
92  }  }
93    
94  inline int press_any_key()  inline int press_any_key()
# Line 703  int display_data(const void *p_data, lon Line 703  int display_data(const void *p_data, lon
703                                  if (ch != KEY_NULL && ch != KEY_TIMEOUT)                                  if (ch != KEY_NULL && ch != KEY_TIMEOUT)
704                                  {                                  {
705                                          BBS_last_access_tm = time(NULL);                                          BBS_last_access_tm = time(NULL);
706    
707                                            // Refresh current action
708                                            if (user_online_update(NULL) < 0)
709                                            {
710                                                    log_error("user_online_update(NULL) error\n");
711                                            }
712                                  }                                  }
713    
714                                  // extended key handler                                  // extended key handler
# Line 714  int display_data(const void *p_data, lon Line 720  int display_data(const void *p_data, lon
720                                  switch (ch)                                  switch (ch)
721                                  {                                  {
722                                  case KEY_NULL:                                  case KEY_NULL:
723    #ifdef _DEBUG
724                                          log_error("KEY_NULL\n");                                          log_error("KEY_NULL\n");
725    #endif
726                                          goto cleanup;                                          goto cleanup;
727                                  case KEY_TIMEOUT:                                  case KEY_TIMEOUT:
728                                          log_error("User input timeout\n");                                          log_error("User input timeout\n");


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

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