Skip to content

Unable to capture some modified key strokes. #32

Closed
@AndrewRademacher

Description

@AndrewRademacher

I have a small demo using the following event loop

event :: State -> Event -> EventM (Next State)
event st e = do
    liftIO $ print e
    continue st

and the following draw function

draw :: State -> [Widget]
draw st = [str "Hello World!"]

There are several cases like Ctrl+,, Ctrl+., and Ctrl+/ that do not fire an event. Additionally there is at least one case of sending the wrong event. For example you would expect Ctrl+m to read...

EvKey (KChar 'm') [MCtrl]

however it actually reads...

EvKey KEnter []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions