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