summaryrefslogtreecommitdiffstats
path: root/robots/move.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-04-23 03:34:42 +0000
committermycroft <mycroft@NetBSD.org>1993-04-23 03:34:42 +0000
commit899411bf57ab78e3300b8a376e7cd8ed1a9ea36b (patch)
tree53e6b49915965ccc6a8c1754356a8d562bab98de /robots/move.c
parent17218cf9a277aadf6eafecb1f87796581bfefc3b (diff)
downloadbsdgames-darwin-899411bf57ab78e3300b8a376e7cd8ed1a9ea36b.tar.gz
bsdgames-darwin-899411bf57ab78e3300b8a376e7cd8ed1a9ea36b.tar.zst
bsdgames-darwin-899411bf57ab78e3300b8a376e7cd8ed1a9ea36b.zip
Make CTRL() ANSI-compliant.
Diffstat (limited to 'robots/move.c')
-rw-r--r--robots/move.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/robots/move.c b/robots/move.c
index 79364440..8da28376 100644
--- a/robots/move.c
+++ b/robots/move.c
@@ -169,13 +169,13 @@ teleport:
refresh();
flush_in();
goto ret;
- case CTRL(L):
+ case CTRL('L'):
wrefresh(curscr);
break;
case EOF:
break;
default:
- putchar(CTRL(G));
+ putchar(CTRL('G'));
reset_count();
fflush(stdout);
break;
@@ -240,7 +240,7 @@ int dy, dx;
refresh();
}
else {
- putchar(CTRL(G));
+ putchar(CTRL('G'));
reset_count();
}
return FALSE;