preview

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(id string, opts Options) error

Run writes the preview pane content for a given session id to stdout.

Types

type Options added in v0.1.4

type Options struct {
	Query string
	Regex bool
}

Options controls preview rendering. Query, when non-empty, highlights its matches in the message bodies; Regex treats Query as a regular expression (mirroring grep.Options).

Jump to

Keyboard shortcuts

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