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
It sets up general listening for keys and emitting key events
It allows widgets to register themselves as wanting to receive keyboard input
The functionality should be split into two separate parts.
One is setting up general key listener
And the other is registering widgets to receive keys
Also, widgets should not have to call listen_keys themselves, but if some appropriate instance variable is set to true, then the default widget initialize function should activate listening for keys.
Also, see if widgets have a disabled state, and if yes, while in this state they should not react to keys.
The text was updated successfully, but these errors were encountered:
Screen#listen_keys
has two versions:The functionality should be split into two separate parts.
Also, widgets should not have to call
listen_keys
themselves, but if some appropriate instance variable is set totrue
, then the default widget initialize function should activate listening for keys.Also, see if widgets have a disabled state, and if yes, while in this state they should not react to keys.
The text was updated successfully, but these errors were encountered: