=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/kbd.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/mg/kbd.c 2012/04/12 04:47:59 1.25 +++ src/usr.bin/mg/kbd.c 2013/05/31 18:03:44 1.26 @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd.c,v 1.25 2012/04/12 04:47:59 lum Exp $ */ +/* $OpenBSD: kbd.c,v 1.26 2013/05/31 18:03:44 lum Exp $ */ /* This file is in the public domain. */ @@ -81,7 +81,7 @@ /* avoid problems with % */ ewprintf("%s", prompt); /* put the cursor back */ - update(); + update(CMODE); epresf = KCLEAR; } if (promptp > prompt)