Fix Getch::LINUX_LIBRARY from libgetch.so to libgetwch.so

This commit is contained in:
R. Eric Wheeler 2020-12-22 14:35:45 -08:00
parent c25a2e9c79
commit 624e659a26
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ use RuntimeException;
final class Getch final class Getch
{ {
private const LINUX_LIBRARY = __DIR__ . '/Resources/libgetch.so'; private const LINUX_LIBRARY = __DIR__ . '/Resources/libgetwch.so';
private const WINDOWS_LIBRARY = 'ucrtbase.dll'; private const WINDOWS_LIBRARY = 'ucrtbase.dll';
private static ?FFI $ffi = null; private static ?FFI $ffi = null;