summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--robots/move.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/robots/move.c b/robots/move.c
index d224b650..7edaae35 100644
--- a/robots/move.c
+++ b/robots/move.c
@@ -1,4 +1,4 @@
-/* $NetBSD: move.c,v 1.11 2003/08/07 09:37:36 agc Exp $ */
+/* $NetBSD: move.c,v 1.12 2004/08/27 09:07:08 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: move.c,v 1.11 2003/08/07 09:37:36 agc Exp $");
+__RCSID("$NetBSD: move.c,v 1.12 2004/08/27 09:07:08 christos Exp $");
#endif
#endif /* not lint */
@@ -90,9 +90,13 @@ get_move()
#endif
else {
over:
- if (Auto_bot)
+ if (Auto_bot) {
c = automove();
- else
+ if (!Jump) {
+ usleep(10000);
+ refresh();
+ }
+ } else
c = getchar();
if (isdigit(c)) {
Count = (c - '0');
@@ -181,7 +185,7 @@ teleport:
flush_in();
goto ret;
case CTRL('L'):
- wrefresh(curscr);
+ refresh();
break;
case EOF:
break;