Documentation
¶
Overview ¶
Package render draws the plain text listing that `sitrep ls` prints, from a snapshot: an Inbox, then a table of sessions with their Objective, Progress and Now, and optionally their queues. The text is the bash one (render_frame in bin/sitrep), without its height limit, wrapping and highlight, which belonged to the retired watch loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opts ¶
type Opts struct {
Verbose bool // add the Progress line, and list each queue when Items is above 0
Items int // how many queue items to list
Cols int // the width the Inbox and queue lines are cut to
}
Opts say how to draw.