Crate radicle_tui

Crate radicle_tui 

Source

Modules§

event
store
task
terminal
ui

Structs§

Channel
A multi-producer, multi-consumer message channel.
Exit
An optional return value.
Selection
The output that is returned by all selection interfaces.
Terminator
The Terminator wraps a broadcast channel and can send an interrupt messages.

Enums§

Interrupted
An Interrupt message that is produced by either an OS signal (e.g. kill) or the user by requesting the application to close.

Traits§

Share
Implementors of Share can be used inside the multi-threaded application environment.

Functions§

create_termination
Create a broadcast channel and spawn a task for retrieving the applications’ kill signal.
im
Initialize a Store with the State given and a Frontend with the App given, and run their main loops concurrently. Connect them to the Channel and also to an interrupt broadcast channel also initialized in this function. Additionally, a list of processors can be passed. Processors will also receive all applications messages and can emit new ones. They will be executed by an internal worker.