AshTui.App (AshTui v0.3.1)

Copy Markdown View Source

Main TUI application using ExRatatui.App behaviour.

Renders the two-panel layout and delegates key handling to AshTui.State.

Transports

This module works across all three ExRatatui transports without changes:

  • LocalAshTui.App.start_link(state: state) renders to the local terminal.
  • SSHAshTui.App.start_link(transport: :ssh, app_opts: [state: state], ...) serves each SSH client an isolated explorer session.
  • DistributedAshTui.App.start_link(transport: :distributed, app_opts: [state: state]) starts a listener; remote nodes attach via ExRatatui.Distributed.attach(node, AshTui.App).

In practice, use AshTui.explore/2 or mix ash.tui which handle the wiring for you.