Documentation
¶
Overview ¶
Package livetui cmd/skywire-cli/cliutil/livetui/livetui.go c4-vis-cli helper. Wraps any function that produces a string in a scrollable view that re-renders on a configurable tick, watch(1)-style, without rewriting the whole screen each tick.
Build a Refresh callback that returns the snapshot to show now and pass it to Run with an interval. Run blocks until q, Esc or Ctrl+C. The view scrolls independently of new frames, and stays at the end when it was there. It is drawn with progkit, so in websh the snapshot is also laid over the cells as selectable text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.