Changes in owl.c [9efa5bd:a2a8833]
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r9efa5bd ra2a8833 444 444 /* update the terminal if we need to */ 445 445 owl_window_redraw_scheduled(); 446 /* On colorpair shortage, reset and redraw /everything/. NOTE: if we447 * still overflow, this be useless work. With 8-colors, we get 64448 * pairs. With 256-colors, we get 32768 pairs with ext-colors449 * support and 256 otherwise.*/446 /* On colorpair shortage, reset and redraw /everything/. NOTE: if 447 * the current screen uses too many colorpairs, this draws 448 * everything twice. But this is unlikely; COLOR_PAIRS is 64 with 449 * 8+1 colors, and 256^2 with 256+1 colors. (+1 for default.) */ 450 450 cpmgr = owl_global_get_colorpair_mgr(&g); 451 451 if (cpmgr->overflow) { 452 owl_function_debugmsg("colorpairs: used all %d pairs; reset pairs and redraw.", 453 owl_util_get_colorpairs()); 452 owl_function_debugmsg("colorpairs: color shortage; reset pairs and redraw. COLOR_PAIRS = %d", COLOR_PAIRS); 454 453 owl_fmtext_reset_colorpairs(cpmgr); 455 454 owl_function_full_redisplay();
Note: See TracChangeset
for help on using the changeset viewer.