Cringe.Terminal.KeyDecoder (cringe v0.3.1)

Copy Markdown View Source

Adapts Ghostty terminal key decoding into Cringe events.

Summary

Functions

decode(input)

@spec decode(binary()) :: [Cringe.Event.t()]

from_ghostty(key_event)

@spec from_ghostty(Ghostty.KeyEvent.t()) :: Cringe.Event.t() | :ignore