/[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.78 by sysadm, Thu May 29 13:17:33 2025 UTC Revision 1.79 by sysadm, Thu May 29 13:23:49 2025 UTC
# Line 277  int display_data(const void *p_data, lon Line 277  int display_data(const void *p_data, lon
277                          }                          }
278    
279                          snprintf(buffer, sizeof(buffer),                          snprintf(buffer, sizeof(buffer),
280                                           "\033[1;44;33m第\033[36m%ld\033[33m-\033[36m%ld\033[33m行 (\033[36m%ld%%\033[33m) │ "                                           "\033[1;44;33m第\033[32m%ld\033[33m-\033[32m%ld\033[33m行 (\033[32m%ld%%\033[33m) │ "
281                                           "返回[\033[36m←\033[33m,\033[36mESC\033[33m] │ 移动[\033[36m↑\033[33m/\033[36m↓\033[33m/\033[36mPgUp\033[33m/\033[36mPgDn\033[33m] │ "                                           "返回[\033[32m←\033[33m,\033[32mESC\033[33m] │ 移动[\033[32m↑\033[33m/\033[32m↓\033[33m/\033[32mPgUp\033[33m/\033[32mPgDn\033[33m] │ "
282                                           "帮助[\033[36mh\033[33m] │",                                           "帮助[\033[32mh\033[33m] │",
283                                           line_current - (line - 1) + 1,                                           line_current - (line - 1) + 1,
284                                           MIN(line_current - (line - 1) + (SCREEN_ROWS - 2), line_total),                                           MIN(line_current - (line - 1) + (SCREEN_ROWS - 2), line_total),
285                                           percentile);                                           percentile);


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

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