Open terremoth opened 11 months ago
Just for the record there is a long standing feature request for this in bug tracker as well: https://bugs.php.net/bug.php?id=34972 . We should of course leave this open as we prefer GH issues now.
Just for the record there is a long standing feature request for this in bug tracker as well: https://bugs.php.net/bug.php?id=34972 . We should of course leave this open as we prefer GH issues now.
Yeah, I mentioned this URL on top of the image. Thanks.
Description
Some tutorials and packages show it is possible to capture and handle keypresses on terminals, but only available on *nix systems
The example below shows a commonly see implementation.
But that does not work on Windows. The intention is to capture a single keypress, of course, without typing enter. This would make possible things like terminal games and many command line apps, working for any O.S.
This was discussed in the past here: https://bugs.php.net/bug.php?id=34972
CMB gave some hope this would be implemented, and so, not a bug at all.