Update dependencies
This commit is contained in:
parent
2ed1abf0fc
commit
6405f1c7b9
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