diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-04-03 02:43:23 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-04-03 02:43:23 +0000 |
commit | d44b084ee2cb948833f128a82b459f950e44a682 (patch) | |
tree | cae86dd8176e372c6a960d6459cbfbb0cd44ef04 /usr.bin/mg/main.c | |
parent | 2ebf14d70bed44d3e73639271f1b0182cff961a4 (diff) |
fixed "text in message line would get stuck there" issue.
feedback from Philip Guenther and Han Boetes
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r-- | usr.bin/mg/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c index d306ad0844e..7ca6233e897 100644 --- a/usr.bin/mg/main.c +++ b/usr.bin/mg/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.49 2006/02/25 14:40:16 otto Exp $ */ +/* $OpenBSD: main.c,v 1.50 2006/04/03 02:43:22 kjell Exp $ */ /* This file is in the public domain. */ @@ -135,10 +135,10 @@ notnum: /* fake last flags */ thisflag = 0; for (;;) { -#ifndef NO_DPROMPT - if (epresf == KPROMPT) + if (epresf == KCLEAR) eerase(); -#endif /* !NO_DPROMPT */ + if (epresf == TRUE) + epresf = KCLEAR; if (winch_flag) { do_redraw(0, 0, TRUE); winch_flag = 0; |