From 96525edaae6e1fb076b4286fdd41032dafff651c Mon Sep 17 00:00:00 2001 From: ftrvxmtrx Date: Sat, 13 Dec 2014 21:58:49 +0100 Subject: various cmds: replace magic numbers with Kdel/Keof, etc --- sys/src/cmd/plot/plot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/src/cmd/plot') diff --git a/sys/src/cmd/plot/plot.c b/sys/src/cmd/plot/plot.c index 3633750ae..a7341c4e4 100644 --- a/sys/src/cmd/plot/plot.c +++ b/sys/src/cmd/plot/plot.c @@ -210,8 +210,8 @@ mouseproc(void*) case Akbd: switch(r){ case 'q': - case 0x7f: - case 0x04: + case Kdel: + case Keof: threadexitsall(""); } break; -- cgit v1.2.3