Halogen keyboard-input example and unsubsribing to the events?
问题 How to unsubscribe to keyboard events from other actions than HandleKey in the keyboard-input example? (The question is related to Halogen version 2.0.1 and purescript 0.11.4.) In the example the enter/return works. I have a group of elements that can be collapsed with mouse by pressing close-button and Close-action takes care of it. Also, the enter/return can be used to collapse the elements and it works as it should. Open next -> do st <- H.get if not st.open then do H.modify (_ { open =