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
On https://ripes.me/ - to reproduce, run the ConsoleReading.s example and Run the processor.
Once prompted in the console, and the user types characters into the console, pressing Enter does not return control to the processor. The user is still able to pause running by reclicking Run, so not a critical error.
The text was updated successfully, but these errors were encountered:
The issue mortbopet#304 is related to WASM console input not working, as by pressing Enter, Return or Backspace key nothing happens. This was due to how those commands were handled: first it was checked that their text was non empty, then their keys were checked with the elements of the `Qt::Key` enumeration. The problem is that in WebAssembly the events related to those keys have an empty text, therefore the reported problem. I modified the logic behind the evaluation of those commands: in the `Console::keyPressEvent(QKeyEvent *e)` method there is an enumeration that used to handle just the arrow keys and the default case; I propose to handle the Return, Enter and Backspace keys differently from the rest of the commands, without checking if their related text is empty.
On https://ripes.me/ - to reproduce, run the
ConsoleReading.s
example andRun
the processor.Once prompted in the console, and the user types characters into the console, pressing
Enter
does not return control to the processor. The user is still able to pause running by reclickingRun
, so not a critical error.The text was updated successfully, but these errors were encountered: