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. - Detached
Handoff - Hands the terminal to a program until it writes its first line on standard output, then
takes the screen back and leaves the program running in the background as a
LiveChild. - Frame
Limit - How many frames a second the runtime draws at most, for a local and for a remote connection.
- 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. - Live
Child - A program a
DetachedHandoffleft running: its standard input is the application’s to write, its later output arrives as messages throughDetachedHandoff::on_line. - 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. - Test
Child - The test’s side of the stand-in from
LiveChild::for_tests: it plays the program.
Enums§
- Child
Line - What a
LiveChildsays, delivered throughDetachedHandoff::on_line. - Clipboard
Event - Something that happened on the clipboard, delivered to
App::clipboard. - Detached
Outcome - How a
DetachedHandoffended. - 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.