Versions in this module Expand all Collapse all v1 v1.7.0 Nov 18, 2026 v1.6.0 Nov 16, 2026 v1.5.0 Nov 10, 2026 Changes in this version + const MaxCols + const MaxEvents + const MaxOutput + const MaxRows + func StillText(rec Recording, n int) (string, error) v1.4.1 Nov 7, 2026 v1.4.0 Nov 4, 2026 Changes in this version + func IsCast(data []byte) bool + func Still(rec Recording, n int) (image.Image, error) v1.3.0 Nov 2, 2026 Changes in this version type Recording + func (rec Recording) FullScreen() bool + func (rec Recording) Text() string v1.2.1 Oct 29, 2026 v1.2.0 Oct 29, 2026 v1.1.0 Oct 28, 2026 v1.0.0 Oct 28, 2026 Changes in this version + var ErrEmpty = errors.New("nothing was written to the terminal") + func Frame(data []byte, n int) (image.Image, error) + func GIF(rec Recording) ([]byte, error) + func WriteCast(w io.Writer, rec Recording) error + type Event struct + At time.Duration + Data []byte + type Recorder struct + func NewRecorder(cols, rows int) *Recorder + func (r *Recorder) Recording() Recording + func (r *Recorder) Write(p []byte) (int, error) + type Recording struct + Cols int + Events []Event + Rows int + Start time.Time + func ReadCast(r io.Reader) (Recording, error) + type Screen struct + func NewScreen(cols, rows int) *Screen + func (s *Screen) Text() string + func (s *Screen) Write(p []byte) (int, error)