You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionINKEYS()
returnstring.char(lib.getch())
end
When calling the INKEYS() function the expected behavior is for the application to wait for a key to be pressed. And when it happens it will return a string containing the character.
This works if I run the application in a regular terminal.
The problem:
When running in the ZeroBrane Studio debugger the Output window just shows a prompt that echoes whatever characters I press.
The text was updated successfully, but these errors were encountered:
Wrapping getch() for use in Lua:
Function using the wrapper:
When calling the INKEYS() function the expected behavior is for the application to wait for a key to be pressed. And when it happens it will return a string containing the character.
This works if I run the application in a regular terminal.
The problem:
When running in the ZeroBrane Studio debugger the Output window just shows a prompt that echoes whatever characters I press.
The text was updated successfully, but these errors were encountered: