/[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.92 by sysadm, Wed Jun 11 10:44:33 2025 UTC Revision 1.93 by sysadm, Wed Jun 11 11:55:50 2025 UTC
# Line 315  int display_data(const void *p_data, lon Line 315  int display_data(const void *p_data, lon
315                          iflush();                          iflush();
316    
317                          input_ok = 0;                          input_ok = 0;
318                            ch = igetch_t(MAX_DELAY_TIME);
319                          while (!SYS_server_exit && !input_ok)                          while (!SYS_server_exit && !input_ok)
320                          {                          {
                                 ch = igetch_t(MAX_DELAY_TIME);  
                                 input_ok = 1;  
   
321                                  // extended key handler                                  // extended key handler
322                                  if (key_handler(&ch, &ctx) != 0)                                  if (key_handler(&ch, &ctx) != 0)
323                                  {                                  {
324                                          goto cleanup;                                          goto cleanup;
325                                  }                                  }
326    
327                                    input_ok = 1;
328                                  switch (ch)                                  switch (ch)
329                                  {                                  {
330                                  case KEY_NULL:                                  case KEY_NULL:
# Line 462  int display_data(const void *p_data, lon Line 461  int display_data(const void *p_data, lon
461                                  }                                  }
462    
463                                  BBS_last_access_tm = time(0);                                  BBS_last_access_tm = time(0);
464                                    if (!input_ok)
465                                    {
466                                            ch = igetch_t(MAX_DELAY_TIME);
467                                    }
468                          }                          }
469    
470                          continue;                          continue;


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

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