/[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.133 by sysadm, Sun Nov 30 09:42:43 2025 UTC Revision 1.135 by sysadm, Thu Dec 18 02:56:01 2025 UTC
# Line 209  static int _str_input(char *buffer, int Line 209  static int _str_input(char *buffer, int
209                                  ch = igetch(100);                                                // 0.1 second                                  ch = igetch(100);                                                // 0.1 second
210                                  if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input                                  if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input
211                                  {                                  {
212  #ifdef _DEBUG                                          log_debug("Ignore %d bytes of incomplete UTF8 character\n", str_len);
                                         log_error("Ignore %d bytes of incomplete UTF8 character\n", str_len);  
 #endif  
213                                          str_len = 0;                                          str_len = 0;
214                                          break;                                          break;
215                                  }                                  }
# Line 533  int get_data(int row, int col, char *pro Line 531  int get_data(int row, int col, char *pro
531                                  ch = igetch(100);                                                // 0.1 second                                  ch = igetch(100);                                                // 0.1 second
532                                  if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input                                  if (ch == KEY_NULL || ch == KEY_TIMEOUT) // Ignore received bytes if no futher input
533                                  {                                  {
534  #ifdef _DEBUG                                          log_debug("Ignore %d bytes of incomplete UTF8 character\n", str_len);
                                         log_error("Ignore %d bytes of incomplete UTF8 character\n", str_len);  
 #endif  
535                                          str_len = 0;                                          str_len = 0;
536                                          break;                                          break;
537                                  }                                  }
# Line 720  int display_data(const void *p_data, lon Line 716  int display_data(const void *p_data, lon
716                                  switch (ch)                                  switch (ch)
717                                  {                                  {
718                                  case KEY_NULL:                                  case KEY_NULL:
719                                          log_error("KEY_NULL\n");                                          log_debug("KEY_NULL\n");
720                                          goto cleanup;                                          goto cleanup;
721                                  case KEY_TIMEOUT:                                  case KEY_TIMEOUT:
722                                          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