Documentation
¶
Overview ¶
Package terminalfixture provides synthetic terminal workloads for tests and benchmarks. Its data is authored for Sidecar and contains no captured user terminal content.
Index ¶
Constants ¶
const ( ExistingGoPath = "internal/runtime/frame.go" ExistingDocPath = "docs/terminal.md" MissingPath = "build/missing-output.log" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenCode ¶
OpenCode is a deterministic OpenCode-shaped full-screen terminal workload. Frames include a canvas, a full-height side panel, changing status cells, safe URLs, file candidates, negative candidates, and bounded history rows.
func NewOpenCode ¶
NewOpenCode builds a reusable fixture at the requested pane geometry.
func (OpenCode) Frame ¶
Frame returns one capture-shaped snapshot. Every fourth frame carries a few history rows above the live grid, reproducing occasional scroll movement.
func (OpenCode) PopulateRoot ¶
PopulateRoot creates only the fixture's positive file candidates beneath a caller-owned temporary root. The negative candidate remains absent.