Table of Contents

Method GetDemoKeyStrokes

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

GetDemoKeyStrokes()

Returns a tuirec-format keystroke string for recording a demo GIF of this view. The string uses tuirec token syntax (e.g. "wait:500,Enter,wait:800,Escape"). This is a new API added in v2 to support automated documentation generation.

public virtual string? GetDemoKeyStrokes()

Returns

string

A keystroke string for tuirec, or null if no demo interaction is defined. Both null and an empty string indicate the view has no interactive demo; the view will be recorded as a static 2-second capture in either case.