* S/MIME: Some clients do not transform messages to canonical form when
[alpine.git] / pico / window.c
blob7187e16fff55bae3b2ba2d84d205653be1bedab6
1 #if !defined(lint) && !defined(DOS)
2 static char rcsid[] = "$Id: window.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
3 #endif
4 /*
5 * ========================================================================
6 * Copyright 2006 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
18 * Window management. Some of the functions are internal, and some are
19 * attached to keys that the user actually types.
22 #include "headers.h"
26 * Refresh the screen. With no argument, it just does the refresh. With an
27 * argument it recenters "." in the current window. Bound to "C-L".
29 int
30 pico_refresh(int f, int n)
33 * since pine mode isn't using the traditional mode line, sgarbf isn't
34 * enough.
36 if(Pmaster && curwp)
37 curwp->w_flag |= WFMODE;
39 if (f == FALSE)
40 sgarbf = TRUE;
41 else if(curwp){
42 curwp->w_force = 0; /* Center dot. */
43 curwp->w_flag |= WFFORCE;
46 return (TRUE);