edit: 0xE0 prefix is not needed any more

Upstream supports PC extension scancodes starting with 0x00.

    modified:   edit.c
This commit is contained in:
KO Myung-Hun 2015-07-21 14:26:51 +09:00
parent 834349f3be
commit 2c5474b326

4
edit.c
View File

@ -136,9 +136,7 @@ static int
x_getc(void) x_getc(void)
{ {
#ifdef __OS2__ #ifdef __OS2__
int c = _read_kbd(0, 1, 0); return _read_kbd(0, 1, 0);
return c == 0 ? 0xE0 : c;
#else #else
char c; char c;
ssize_t n; ssize_t n;