screen()
Define a command that renders a React/Ink terminal UI instead of running a handler.
Import from maltty/ui.
ScreenDef
ScreenExit
Context hooks
Available inside screen components. Throw if used outside a screen() render tree.
Layout components
Re-exported from Ink:
Input components
Re-exported from @inkjs/ui:
Ink hooks
Re-exported from Ink:
MalttyProvider
Wraps screen components automatically. Not typically instantiated directly.
Types
Exported from maltty/ui: