{ code : Maybe String
, ctrl : Basics.Bool
, meta : Basics.Bool
, name : String
, sequence : String
, shift : Basics.Bool
}
decodeKey : Json.Decode.Decoder Key
You can configure Node to listen for key events, this will parse those into a nice record.
getCommand : String -> Maybe String
If the input is an ansi command, return the command portion, with the escape code removed.
isDownArrow : String -> Basics.Bool
isLeftArrow : String -> Basics.Bool
isRightArrow : String -> Basics.Bool
isUpArrow : String -> Basics.Bool