Dyalog / ewc

Experiments with JavaScript-based GUI
MIT License
0 stars 2 forks source link

KeyPress callback elements [3 6] should be scalars #44

Open mbaas2 opened 3 months ago

mbaas2 commented 3 months ago

(I'm not sure how faithful we want to be wrt to those details - so feel free to close if you think this is overkill)

DemoPassword: on entering the value "H" into the field "Password", the KeyPresscallback is called with its 3d element being the character vector H. The doc says: "If the keystroke resolves to a character, the Input Code is a character scalar."

mbaas2 commented 3 months ago

P.S: Also the shift state (6th element) should be a integer scalar!