samterm: stop ignoring all keys >= Kcmd

This commit is contained in:
Pocket7878 2019-04-06 04:12:41 +09:00 committed by Russ Cox
parent 317c3cdb76
commit 9179fdaaf4

View file

@ -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;
}