diff options
author | Vincent Labrecque <vincent@cvs.openbsd.org> | 2004-01-12 22:55:01 +0000 |
---|---|---|
committer | Vincent Labrecque <vincent@cvs.openbsd.org> | 2004-01-12 22:55:01 +0000 |
commit | e908581166b6e24903a1c161ffa2d8e8e4dc9b15 (patch) | |
tree | 1eae8837c06b233689b994f008752d8a32633e63 | |
parent | 6cc2b30f2f027c538c0d076fc3a9a67c5d215fbd (diff) |
request modeline redrawing to see mail-mode appear as soon as the mode
is turned on
-rw-r--r-- | usr.bin/mg/mail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/mail.c b/usr.bin/mg/mail.c index 67738b05c1e..a0c23e0a36f 100644 --- a/usr.bin/mg/mail.c +++ b/usr.bin/mg/mail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mail.c,v 1.1 2003/05/05 11:12:07 vincent Exp $ */ +/* $OpenBSD: mail.c,v 1.2 2004/01/12 22:55:00 vincent Exp $ */ /* * This file is in the public domain. * @@ -70,6 +70,7 @@ mail(int f, int n) curbp->b_modes[1] = name_mode("mail-mode"); } curbp->b_nmodes = 1; + curwp->w_flag |= WFMODE; return (TRUE); } |