diff options
author | Pocket7878 <poketo7878@gmail.com> | 2019-04-06 04:12:41 +0900 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2019-04-05 15:12:41 -0400 |
commit | 9179fdaaf4fb5748832b2162d35a515133bad0f5 (patch) | |
tree | 299eecf0cd115e1f18a9491f35a8edad65576f1c /src/cmd/samterm | |
parent | 317c3cdb76806629e8c2710b7fb9a69cc3e46867 (diff) | |
download | plan9port-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.c | 5 |
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; } |