DoxigAlpha

Progress

Fields of this type

Fields

#
terminal:std.fs.File
`null` if the current node (and its children) should
update_thread:?std.Thread
redraw_event:std.Thread.ResetEvent
Atomically set by SIGWINCH as well as the root done() function.
done:bool
Indicates a request to shut down and reset global state.
need_clear:bool
refresh_rate_ns:u64
initial_delay_ns:u64
rows:u16
cols:u16
draw_buffer:[]u8
Accessed only by the update thread.
node_parents:[]Node.Parent
This is in a separate array from `node_storage` but with the same length so
node_storage:[]Node.Storage
node_freelist_next:[]Node.OptionalIndex
node_end_index:u32
This is the number of elements in node arrays which have been used so far.

Type definitions in this namespace

Types

#
Node
Represents one unit of progress.

Initializes a global Progress instance.

Functions

#
start
Initializes a global Progress instance.
lockStdErr
Allows the caller to freely write to stderr until `unlockStdErr` is called.
lockStderrWriter
Allows the caller to freely write to the returned `Writer`,

= switch (builtin.os.tag) { .wasi, .freestanding, .windows => false, else => true, }

Values

#
have_ipc
= switch (builtin.os.tag) { .wasi, .freestanding, .windows => false, else => true, }