summaryrefslogtreecommitdiff
path: root/usr.bin/mg/kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/kbd.c')
-rw-r--r--usr.bin/mg/kbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/kbd.c b/usr.bin/mg/kbd.c
index 0eb3c360853..2c2803952e1 100644
--- a/usr.bin/mg/kbd.c
+++ b/usr.bin/mg/kbd.c
@@ -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 @@ getkey(int flag)
/* avoid problems with % */
ewprintf("%s", prompt);
/* put the cursor back */
- update();
+ update(CMODE);
epresf = KCLEAR;
}
if (promptp > prompt)