Changeset 4e33cb2
- Timestamp:
- May 29, 2010, 1:14:57 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 2dfccc7
- Parents:
- 5f7eadf
- git-author:
- David Benjamin <davidben@mit.edu> (05/27/10 12:18:41)
- git-committer:
- David Benjamin <davidben@mit.edu> (05/29/10 13:14:57)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r5f7eadf r4e33cb2 1371 1371 { 1372 1372 owl_function_full_redisplay(); 1373 owl_global_set_needrefresh(&g);1374 1373 } 1375 1374 … … 1388 1387 owl_global_set_rightshift(&g, shift); 1389 1388 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 1390 owl_global_set_needrefresh(&g);1391 1389 } 1392 1390 … … 2713 2711 } 2714 2712 2715 owl_global_set_needrefresh(&g);2716 2713 owl_global_pop_context(&g); 2717 2714 … … 2735 2732 owl_editwin_insert_string(e, ptr); 2736 2733 owl_editwin_redisplay(e); 2737 owl_global_set_needrefresh(&g);2738 2734 } else { 2739 2735 owl_function_beep(); … … 2752 2748 owl_editwin_insert_string(e, ptr); 2753 2749 owl_editwin_redisplay(e); 2754 owl_global_set_needrefresh(&g);2755 2750 } else { 2756 2751 owl_function_beep(); … … 2763 2758 owl_editwin_insert_string(e, buff); 2764 2759 owl_editwin_redisplay(e); 2765 owl_global_set_needrefresh(&g);2766 2760 return NULL; 2767 2761 } … … 2778 2772 owl_global_set_typwin_inactive(&g); 2779 2773 owl_global_pop_context(&g); 2780 owl_global_set_needrefresh(&g);2781 2774 2782 2775 owl_editwin_do_callback(e); … … 2803 2796 owl_popwin_close(owl_global_get_popwin(&g)); 2804 2797 owl_global_pop_context(&g); 2805 owl_global_set_needrefresh(&g); 2806 } 2798 } -
editwin.c
r9d7a720 r4e33cb2 533 533 wmove(e->curswin, y, x); 534 534 e->cursorx = x; 535 owl_global_set_needrefresh(&g); 535 536 } 536 537 -
functions.c
r68f63a2 r4e33cb2 216 216 /* redisplay etc. */ 217 217 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 218 owl_global_set_needrefresh(&g);219 218 } 220 219 … … 809 808 owl_global_set_rightshift(&g, owl_global_get_rightshift(&g)+10); 810 809 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 811 owl_global_set_needrefresh(&g);812 810 } 813 811 … … 820 818 owl_global_set_rightshift(&g, MAX(shift - 10, 0)); 821 819 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 822 owl_global_set_needrefresh(&g);823 820 } else { 824 821 owl_function_beep(); … … 1223 1220 if (owl_global_is_bell(&g)) { 1224 1221 beep(); 1225 owl_global_set_needrefresh(&g); /* do we really need this? */1226 1222 } 1227 1223 } … … 1558 1554 /* redisplay */ 1559 1555 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 1560 owl_global_set_needrefresh(&g);1561 1556 } 1562 1557 … … 1678 1673 } 1679 1674 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 1680 owl_global_set_needrefresh(&g);1681 1675 } else { 1682 1676 owl_function_error("No message with id %d: unable to mark for (un)delete",id); … … 1714 1708 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 1715 1709 owl_function_makemsg("%i messages marked for deletion", count); 1716 owl_global_set_needrefresh(&g);1717 1710 } 1718 1711 … … 1919 1912 1920 1913 owl_editwin_set_locktext(tw, "command: "); 1921 owl_global_set_needrefresh(&g);1922 1914 1923 1915 owl_editwin_insert_string(tw, line); … … 1935 1927 1936 1928 owl_editwin_set_locktext(tw, line); 1937 owl_global_set_needrefresh(&g);1938 1939 owl_editwin_redisplay(tw);1940 1929 1941 1930 owl_global_push_context(&g, OWL_CTX_EDITRESPONSE, tw, "editresponse"); … … 1952 1941 1953 1942 owl_editwin_set_locktext(tw, line); 1954 owl_global_set_needrefresh(&g);1955 1943 1956 1944 owl_editwin_redisplay(tw); … … 2119 2107 } 2120 2108 owl_filter_set_fgcolor(f, owl_util_string_to_color(argv[3])); 2121 owl_global_set_needrefresh(&g);2122 2109 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 2123 2110 return; … … 2134 2121 } 2135 2122 owl_filter_set_bgcolor(f, owl_util_string_to_color(argv[3])); 2136 owl_global_set_needrefresh(&g);2137 2123 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 2138 2124 return; … … 2163 2149 owl_function_change_currentview_filter(argv[1]); 2164 2150 } 2165 owl_global_set_needrefresh(&g);2166 2151 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 2167 2152 } … … 2707 2692 owl_filter_set_fgcolor(f, owl_util_string_to_color(fgcolor)); 2708 2693 2709 owl_global_set_needrefresh(&g);2710 2694 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 2711 2695 return(0); -
global.c
r68f63a2 r4e33cb2 385 385 werase(owl_global_get_curs_typwin(g)); 386 386 g->tw = NULL; 387 owl_global_set_needrefresh(g); 387 388 } 388 389 -
owl.c
r449af72 r4e33cb2 303 303 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 304 304 sepbar(NULL); 305 owl_global_set_needrefresh(&g);306 305 } 307 306 return newmsgs; -
util.c
r9a7b4f2 r4e33cb2 120 120 wattroff(sepwin, A_BOLD); 121 121 wattroff(sepwin, A_REVERSE); 122 owl_global_set_needrefresh(&g); 122 123 } 123 124
Note: See TracChangeset
for help on using the changeset viewer.