Class AsciinemaPlayer
Representation class for the Asciinema specification
Inheritance
object
AsciinemaPlayer
Namespace: Terminaux.Writer.CyclicWriters.Renderer.Tools
Assembly: Terminaux.dll
Syntax
public static class AsciinemaPlayer
Methods
| Edit this page View SourcePlayAsciinema(Asciicast, bool)
Plays the Asciinema recording in full-screen mode
Declaration
public static void PlayAsciinema(Asciicast asciicast, bool resizeWindow = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Asciicast | asciicast | Asciicast instance containing recorded data |
| bool | resizeWindow | Whether to resize the window when playing |
PlayAsciinema(AsciinemaRepresentation, bool)
Plays the Asciinema recording in full-screen mode
Declaration
public static void PlayAsciinema(AsciinemaRepresentation representation, bool resizeWindow = true)
Parameters
| Type | Name | Description |
|---|---|---|
| AsciinemaRepresentation | representation | Asciinema representation containing a valid instance of Asciicast |
| bool | resizeWindow | Whether to resize the window when playing |