{"modulePath":"github.com/castingcode/tuicast","version":"v0.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package trace\n\nPackage trace encodes TUICast flight recordings as JSON-lines trace files.\n\nA dump is one JSON object per line: a header, the recorded output and resize records in order, one record per unsupported sequence, and a final record describing the wait failure. Output bytes are base64 so arbitrary bytes, including invalid UTF-8, survive exactly. See design/troubleshooting.md for the format.\n\n## Constants\n\n```go\nconst Version = 1\n```\nVersion identifies the dump format written by WriteDump.\n\n## Functions\n\n```go\nfunc WriteDump(w io.Writer, failure *tuicast.WaitError) error\n```\nWriteDump writes failure's flight recording and last screen as a JSON-lines dump.\n\n","path":"github.com/castingcode/tuicast/trace","name":"trace","synopsis":"Package trace encodes TUICast flight recordings as JSON-lines trace files.","isRedistributable":true}
