mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 03:38:03 +01:00
Explain env var capture in v2 format
This commit is contained in:
@@ -66,6 +66,16 @@ Title of the asciicast, as given via `-t` option to `asciinema rec`. String.
|
|||||||
|
|
||||||
Map of captured environment variables. Object (String -> String).
|
Map of captured environment variables. Object (String -> String).
|
||||||
|
|
||||||
|
Example env:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{"SHELL": "xterm-256color", "TERM": "/bin/bash"}
|
||||||
|
```
|
||||||
|
|
||||||
|
Official asciinema recorder captures only `SHELL` and `TERM` by default. All
|
||||||
|
implementations of asciicast-compatible terminal recorder should not capture any
|
||||||
|
additional environment variables unless explicitly permitted by the user.
|
||||||
|
|
||||||
## Event stream
|
## Event stream
|
||||||
|
|
||||||
Each element of the event stream is a 3-tuple encoded as JSON array:
|
Each element of the event stream is a 3-tuple encoded as JSON array:
|
||||||
|
|||||||
Reference in New Issue
Block a user