getch(); } } if(!function_exists('ungetch')) { function ungetch(string $char, string $linuxLibrary = null): int { $g = new Getch($linuxLibrary); return $g->ungetch($char); } } if(!function_exists('ungetchString')) { function ungetchString(string $string, string $linuxLibrary = null): bool { $g = new Getch($linuxLibrary); return $g->ungetchString($string); } }