Expand description
Structs§
- Command
- Work for the runtime, returned from
App::update. - Confirm
- A question for
Command::confirm: a title, an optional message, and the messages for the answers. - Handoff
- Hands the terminal to another program: leaves raw mode and the alternate screen, runs it attached to the real terminal, then takes the screen back and draws everything again.
- Handoff
Request - A handoff a
Harnessrecorded instead of running. - Harness
- Runs an
Appagainst an in-memory screen. - Process
- A child process whose output is read line by line, for showing in a log view.
- Runtime
- Configures and runs an application in the terminal.
- Task
- Work to run in the background with progress, cancellation and an outcome.
- TaskCx
- What running work can do: report progress, send messages, notice cancellation and sleep.
- Task
Entry - One task as the application shows it.
- TaskId
- Identifies one task for its whole life. Ids are unique within the process.
- Tasks
- Tasks an application shows, kept up to date with
Tasks::apply. Newest last.
Enums§
- Clipboard
Event - Something that happened on the clipboard, delivered to
App::clipboard. - Handoff
Outcome - How a handoff ended.
- Line
- Where a line came from. With a pseudo-terminal both streams share one line, so only
Line::Outappears. - Process
Outcome - How the child ended.
- Task
Event - What happened to a task, delivered through
Task::on_event. - Task
Outcome - How a task ended.
- Termination
- Why the system, rather than the user, is ending the application.
Traits§
- App
- An application built with quvyta-framework: data, a function that draws it and a function that changes it.
Functions§
- html_
page - Wraps
Harness::htmlfragments in an HTML document that lays screens out on a dark page.