Changeset 644a0f8


Ignore:
Timestamp:
Apr 28, 2010, 2:27:59 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
c21b8b7
Parents:
0e3cdf1
git-author:
David Benjamin <davidben@mit.edu> (04/28/10 03:14:23)
git-committer:
David Benjamin <davidben@mit.edu> (04/28/10 14:27:59)
Message:
Use touchwin in owl_function_full_redisplay

redrawwin also memsets random chunks of the screen, which is completely
not relevant for us.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rf92acd7 r644a0f8  
    12641264void owl_function_full_redisplay(void)
    12651265{
    1266   redrawwin(owl_global_get_curs_recwin(&g));
    1267   redrawwin(owl_global_get_curs_sepwin(&g));
    1268   /* Work around curses segfualts with windows off the screen */
    1269   if (g.lines >= owl_global_get_typwin_lines(&g)+2)
    1270       redrawwin(owl_global_get_curs_typwin(&g));
    1271   if (g.lines >= 2)
    1272       redrawwin(owl_global_get_curs_msgwin(&g));
     1266  touchwin(owl_global_get_curs_recwin(&g));
     1267  touchwin(owl_global_get_curs_sepwin(&g));
     1268  touchwin(owl_global_get_curs_typwin(&g));
     1269  touchwin(owl_global_get_curs_msgwin(&g));
    12731270
    12741271  sepbar("");
Note: See TracChangeset for help on using the changeset viewer.