Show native cast dimensions and add Media Library recordings (1.2.2)

This commit is contained in:
2026-10-13 17:50:18 +08:00
parent 27fe6e0d19
commit af866bc20e
23 changed files with 1156 additions and 29 deletions
+4
View File
@@ -0,0 +1,4 @@
{"version":2,"width":100,"height":30,"timestamp":1700000000,"env":{"TERM":"xterm-256color","SHELL":"/bin/sh"},"title":"Replacement recording with a different native size"}
[0.0,"o","$ printf 'Replacement recording'\r\n"]
[0.1,"o","Replacement recording\r\n"]
[12.0,"o","$ "]
+17
View File
@@ -0,0 +1,17 @@
{
"version": 1,
"width": 72,
"height": 18,
"duration": 12,
"command": "/bin/sh",
"title": "Pretty-printed v1 integration fixture",
"env": {
"TERM": "xterm-256color",
"SHELL": "/bin/sh"
},
"stdout": [
[0.0, "$ printf 'Pretty v1 recording'\r\n"],
[0.1, "Pretty v1 recording\r\n"],
[11.9, "$ "]
]
}
+6
View File
@@ -0,0 +1,6 @@
{"version":3,"term":{"cols":92,"rows":22,"type":"xterm-256color"},"timestamp":1700000000,"title":"v3 recording with comments","env":{"SHELL":"/bin/sh"}}
# Comments are permitted after the header in asciicast v3.
[0.0,"o","$ printf 'Commented v3 recording'\r\n"]
[0.1,"o","Commented v3 recording\r\n"]
# v3 timestamps are delays from the previous event.
[11.9,"o","$ "]