Show
Ignore:
Timestamp:
2001-02-08 07:50:51 (8 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Replace various instances of endwin() by mutt_endwin(). This should
help to avoid chaotic screen output on the "second" screen.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • commands.c

    r2238 r2270  
    119119    fpfilterout = fpout; 
    120120    fpout = NULL; 
    121     /* endwin (); */ 
     121    /* mutt_endwin (NULL); */ 
    122122    filterpid = mutt_create_filter_fd (DisplayFilter, &fpout, NULL, NULL, 
    123123                                       -1, fileno(fpfilterout), -1); 
     
    180180    int r; 
    181181 
    182     endwin (); 
     182    mutt_endwin (NULL); 
    183183    snprintf (buf, sizeof (buf), "%s %s", NONULL(Pager), tempfile); 
    184184    if ((r = mutt_system (buf)) == -1) 
     
    309309  FILE *fpout; 
    310310   
    311   endwin (); 
     311  mutt_endwin (NULL); 
    312312  if (h) 
    313313  { 
     
    322322        return 1; 
    323323    } 
    324     endwin (); 
     324    mutt_endwin (NULL); 
    325325#endif 
    326326 
     
    358358        { 
    359359          mutt_message_hook (Context, Context->hdrs[Context->v2r[i]], M_MESSAGEHOOK); 
    360           endwin (); 
     360          mutt_endwin (NULL); 
    361361          thepid = mutt_create_filter (cmd, &fpout, NULL, NULL); 
    362362          pipe_msg (Context->hdrs[Context->v2r[i]], fpout, decode); 
     
    371371    else 
    372372    { 
    373       endwin (); 
     373      mutt_endwin (NULL); 
    374374      thepid = mutt_create_filter (cmd, &fpout, NULL, NULL); 
    375375      for (i = 0; i < Context->vcount; i++) 
     
    502502    { 
    503503      CLEARLINE (LINES-1); 
    504       endwin (); 
     504      mutt_endwin (NULL); 
    505505      fflush (stdout); 
    506506      if (mutt_system (buf) != 0 || option (OPTWAITKEY))