Merge 1.x into master #1
File diff suppressed because it is too large
Load Diff
|
@ -92,10 +92,13 @@ final class Getch
|
||||||
if ($ffi->_kbhit()) {
|
if ($ffi->_kbhit()) {
|
||||||
$result = $ffi->_getch();
|
$result = $ffi->_getch();
|
||||||
$ffi->_ungetch($result);
|
$ffi->_ungetch($result);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $ffi->cinPeek();
|
return $ffi->cinPeek();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue