monitors

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package monitors renders the horizontal monitor-task chip strip. Sibling to components/bgtasks/strip.go — separate strip so the user can glance at "background tasks" vs "streaming monitors" without scanning a mixed list.

Source of truth is the *daemon.DaemonState filtered by KindMonitor. The strip subscribes implicitly via the agent's KindStoreUpdate bridge.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(ds *daemon.DaemonState, width int, th *theme.Theme, frame int) string

Render returns the chip strip as a (possibly multi-line) string. frame is the spinner frame index used to animate running monitors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL