3
Working in terminal mode, I have control over the screen coordinates where the text will be displayed, however I need detect if a key has been pressed, without the same echo onscreen.
Is there a function or library that allows me to detect this?
3
Working in terminal mode, I have control over the screen coordinates where the text will be displayed, however I need detect if a key has been pressed, without the same echo onscreen.
Is there a function or library that allows me to detect this?
2
Directly, in a ready way, as far as I know, no. It is possible to do this in C and expose to Lua access. In fact there are some libraries that have already done this. Example Ntlua.
I found this another example but I don’t know if it works the way you want it to.
Here there’s another attempt.
Browser other questions tagged lua
You are not signed in. Login or sign up in order to post.