This commit is contained in:
Russ Cox
2005-11-02 15:20:27 +00:00
parent 5d6ebf7a53
commit e4f9a4578a
7 changed files with 18 additions and 11 deletions

View File

@ -456,7 +456,7 @@ kbdputc(Queue *q, int c)
kc[nk++] = c;
c = latin1(kc, nk);
if(c < -1) /* need more keystrokes */
return;
return 0;
if(c != -1) /* valid sequence */
_kbdputc(c);
else