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


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

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