etui/backend/erlang

Types

pub opaque type ErlangTerminalState

Values

pub fn new_with_options(
  opts: backend.Options,
) -> backend.Backend(ErlangTerminalState)

Backend with an explicit feature set.

erlang.new_with_options(erlang.Options(mouse: True, paste: True))
pub fn waker() -> fn() -> Nil

A function that cuts short the poll in progress, or the next one, of the process that made it. The poll returns Tick, so on_event runs and can look at whatever the caller left for it. Wakes sent before a poll starts count as one.

Call waker in the process that runs the app, before app.run, and pass the result to whatever has news for it. Any process may call it.

✨ Search Document