Cringe.Event (cringe v0.2.0)

Copy Markdown View Source

Semantic runtime input events.

Summary

Types

Functions

key(key, opts \\ [])

@spec key(
  atom(),
  keyword()
) :: Cringe.Event.Key.t()

resize(width, height)

text(text)

@spec text(String.t()) :: Cringe.Event.Text.t()

tick(id)

@spec tick(term()) :: Cringe.Event.Tick.t()