aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm
diff options
context:
space:
mode:
authorPocket7878 <poketo7878@gmail.com>2019-04-06 04:12:41 +0900
committerRuss Cox <rsc@golang.org>2019-04-05 15:12:41 -0400
commit9179fdaaf4fb5748832b2162d35a515133bad0f5 (patch)
tree299eecf0cd115e1f18a9491f35a8edad65576f1c /src/cmd/samterm
parent317c3cdb76806629e8c2710b7fb9a69cc3e46867 (diff)
downloadplan9port-9179fdaaf4fb5748832b2162d35a515133bad0f5.tar.gz
plan9port-9179fdaaf4fb5748832b2162d35a515133bad0f5.tar.bz2
plan9port-9179fdaaf4fb5748832b2162d35a515133bad0f5.zip
samterm: stop ignoring all keys >= Kcmd
Diffstat (limited to 'src/cmd/samterm')
-rw-r--r--src/cmd/samterm/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/samterm/main.c b/src/cmd/samterm/main.c
index 5b645e84..5fc42908 100644
--- a/src/cmd/samterm/main.c
+++ b/src/cmd/samterm/main.c
@@ -512,10 +512,11 @@ nontypingkey(int c)
case PAGEUP:
case RIGHTARROW:
case SCROLLKEY:
+ case CUT:
+ case COPY:
+ case PASTE:
return 1;
}
- if(c >= Kcmd)
- return 1;
return 0;
}