aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/terminal/snapshot/testdata
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-10 21:51:57 +0300
committerGitHub <noreply@github.com>2026-09-10 21:51:57 +0300
commit425c86179791cd32e2d4ce0ae7f269940b4b0663 (patch)
treee52c4383a6d69216cbe2a32638bf90841d7e2189 /vendor/libghostty-vt/src/terminal/snapshot/testdata
parent90e947a6e26e02f10ec7f1694c4eb5b78a86406b (diff)
chore: upgrade libghostty and preserve terminal behavior (#3906)
Diffstat (limited to 'vendor/libghostty-vt/src/terminal/snapshot/testdata')
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/checkpoint-ready-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/complete-v1.hex120
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-apc-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-csi-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-dcs-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-esc-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-ground-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-osc-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-utf8-v1.hex8
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/envelope-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/grid-v1.hex15
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/history-header-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-explicit-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-implicit-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/page-empty-record-v1.hex12
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/page-header-v1.hex11
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/page-v1.hex22
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/record-page-header-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-header-v1.hex13
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-saved-cursor-v1.hex11
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/style-v1.hex10
-rw-r--r--vendor/libghostty-vt/src/terminal/snapshot/testdata/terminal-header-v1.hex16
22 files changed, 346 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/checkpoint-ready-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/checkpoint-ready-v1.hex
new file mode 100644
index 00000000..3ff7c5d0
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/checkpoint-ready-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: checkpoint_record
+# Kaitai params: 5
+# Kaitai offset: 3
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+61 62 63 05 00 00 00 00 00 e4 20 ef 0a # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/complete-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/complete-v1.hex
new file mode 100644
index 00000000..1fa59f61
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/complete-v1.hex
@@ -0,0 +1,120 @@
+# Ghostty snapshot fixture
+# Kaitai type: ghostty_snapshot
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: snapshot envelope
+47 48 4f 53 54 53 4e 50 01 00 # 0x00000000
+
+# offset 0x0000000a: terminal record, payload 952 bytes
+01 00 b8 03 00 00 e3 5f 8b cc 02 00 03 00 20 03 # 0x0000000a
+00 00 58 02 00 00 00 00 02 00 00 00 01 00 00 01 # 0x0000001a
+00 02 00 65 00 00 00 01 01 01 00 00 00 00 00 08 # 0x0000002a
+00 04 22 00 64 10 00 00 00 04 22 00 64 00 00 00 # 0x0000003a
+00 04 22 00 64 00 00 00 00 00 00 00 00 00 00 00 # 0x0000004a
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x0000005a
+00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff # 0x0000006a
+ff 00 1d 1f 21 cc 66 66 b5 bd 68 f0 c6 74 81 a2 # 0x0000007a
+be b2 94 bb 8a be b7 c5 c8 c6 66 66 66 d5 4e 53 # 0x0000008a
+b9 ca 4a e7 c5 47 7a a6 da c3 97 d8 70 c0 b1 ea # 0x0000009a
+ea ea 00 00 00 00 00 5f 00 00 87 00 00 af 00 00 # 0x000000aa
+d7 00 00 ff 00 5f 00 00 5f 5f 00 5f 87 00 5f af # 0x000000ba
+00 5f d7 00 5f ff 00 87 00 00 87 5f 00 87 87 00 # 0x000000ca
+87 af 00 87 d7 00 87 ff 00 af 00 00 af 5f 00 af # 0x000000da
+87 00 af af 00 af d7 00 af ff 00 d7 00 00 d7 5f # 0x000000ea
+00 d7 87 00 d7 af 00 d7 d7 00 d7 ff 00 ff 00 00 # 0x000000fa
+ff 5f 00 ff 87 00 ff af 00 ff d7 00 ff ff 5f 00 # 0x0000010a
+00 5f 00 5f 5f 00 87 5f 00 af 5f 00 d7 5f 00 ff # 0x0000011a
+5f 5f 00 5f 5f 5f 5f 5f 87 5f 5f af 5f 5f d7 5f # 0x0000012a
+5f ff 5f 87 00 5f 87 5f 5f 87 87 5f 87 af 5f 87 # 0x0000013a
+d7 5f 87 ff 5f af 00 5f af 5f 5f af 87 5f af af # 0x0000014a
+5f af d7 5f af ff 5f d7 00 5f d7 5f 5f d7 87 5f # 0x0000015a
+d7 af 5f d7 d7 5f d7 ff 5f ff 00 5f ff 5f 5f ff # 0x0000016a
+87 5f ff af 5f ff d7 5f ff ff 87 00 00 87 00 5f # 0x0000017a
+87 00 87 87 00 af 87 00 d7 87 00 ff 87 5f 00 87 # 0x0000018a
+5f 5f 87 5f 87 87 5f af 87 5f d7 87 5f ff 87 87 # 0x0000019a
+00 87 87 5f 87 87 87 87 87 af 87 87 d7 87 87 ff # 0x000001aa
+87 af 00 87 af 5f 87 af 87 87 af af 87 af d7 87 # 0x000001ba
+af ff 87 d7 00 87 d7 5f 87 d7 87 87 d7 af 87 d7 # 0x000001ca
+d7 87 d7 ff 87 ff 00 87 ff 5f 87 ff 87 87 ff af # 0x000001da
+87 ff d7 87 ff ff af 00 00 af 00 5f af 00 87 af # 0x000001ea
+00 af af 00 d7 af 00 ff af 5f 00 af 5f 5f af 5f # 0x000001fa
+87 af 5f af af 5f d7 af 5f ff af 87 00 af 87 5f # 0x0000020a
+af 87 87 af 87 af af 87 d7 af 87 ff af af 00 af # 0x0000021a
+af 5f af af 87 af af af af af d7 af af ff af d7 # 0x0000022a
+00 af d7 5f af d7 87 af d7 af af d7 d7 af d7 ff # 0x0000023a
+af ff 00 af ff 5f af ff 87 af ff af af ff d7 af # 0x0000024a
+ff ff d7 00 00 d7 00 5f d7 00 87 d7 00 af d7 00 # 0x0000025a
+d7 d7 00 ff d7 5f 00 d7 5f 5f d7 5f 87 d7 5f af # 0x0000026a
+d7 5f d7 d7 5f ff d7 87 00 d7 87 5f d7 87 87 d7 # 0x0000027a
+87 af d7 87 d7 d7 87 ff d7 af 00 d7 af 5f d7 af # 0x0000028a
+87 d7 af af d7 af d7 d7 af ff d7 d7 00 d7 d7 5f # 0x0000029a
+d7 d7 87 d7 d7 af d7 d7 d7 d7 d7 ff d7 ff 00 d7 # 0x000002aa
+ff 5f d7 ff 87 d7 ff af d7 ff d7 d7 ff ff ff 00 # 0x000002ba
+00 ff 00 5f ff 00 87 ff 00 af ff 00 d7 ff 00 ff # 0x000002ca
+ff 5f 00 ff 5f 5f ff 5f 87 ff 5f af ff 5f d7 ff # 0x000002da
+5f ff ff 87 00 ff 87 5f ff 87 87 ff 87 af ff 87 # 0x000002ea
+d7 ff 87 ff ff af 00 ff af 5f ff af 87 ff af af # 0x000002fa
+ff af d7 ff af ff ff d7 00 ff d7 5f ff d7 87 ff # 0x0000030a
+d7 af ff d7 d7 ff d7 ff ff ff 00 ff ff 5f ff ff # 0x0000031a
+87 ff ff af ff ff d7 ff ff ff 08 08 08 12 12 12 # 0x0000032a
+1c 1c 1c 26 26 26 30 30 30 3a 3a 3a 44 44 44 4e # 0x0000033a
+4e 4e 58 58 58 62 62 62 6c 6c 6c 76 76 76 80 80 # 0x0000034a
+80 8a 8a 8a 94 94 94 9e 9e 9e a8 a8 a8 b2 b2 b2 # 0x0000035a
+bc bc bc c6 c6 c6 d0 d0 d0 da da da e4 e4 e4 ee # 0x0000036a
+ee ee 80 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x0000037a
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x0000038a
+00 00 01 02 03 14 00 00 00 66 69 6c 65 3a 2f 2f # 0x0000039a
+2f 74 6d 70 2f 73 6e 61 70 73 68 6f 74 11 00 00 # 0x000003aa
+00 63 6f 6d 70 6c 65 74 65 20 73 6e 61 70 73 68 # 0x000003ba
+6f 74 # 0x000003ca
+
+# offset 0x000003cc: screen record, payload 54 bytes
+02 00 36 00 00 00 67 31 0e c6 00 00 01 00 04 00 # 0x000003cc
+00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 # 0x000003dc
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x000003ec
+00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x000003fc
+
+# offset 0x0000040c: page record, payload 36 bytes
+03 00 24 00 00 00 a2 4f 26 d1 02 00 03 00 00 00 # 0x0000040c
+00 00 10 00 c0 00 00 04 00 00 00 08 00 00 00 01 # 0x0000041c
+00 43 00 01 00 44 00 01 00 45 00 00 00 00 # 0x0000042c
+
+# offset 0x0000043a: screen record, payload 54 bytes
+02 00 36 00 00 00 ce 1f 9f 08 01 00 01 00 00 00 # 0x0000043a
+00 00 00 00 00 00 01 00 02 00 01 00 00 00 00 00 # 0x0000044a
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x0000045a
+00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x0000046a
+
+# offset 0x0000047a: page record, payload 38 bytes
+03 00 26 00 00 00 62 1c ab 7b 02 00 03 00 00 00 # 0x0000047a
+00 00 80 00 c0 00 00 02 00 00 00 08 00 00 03 02 # 0x0000048a
+00 72 6e 03 02 00 61 74 02 01 00 65 00 00 00 00 # 0x0000049a
+
+# offset 0x000004aa: continuation record, payload 0 bytes
+07 00 00 00 00 00 27 80 63 d1 # 0x000004aa
+
+# offset 0x000004b4: ready record, payload 0 bytes
+05 00 00 00 00 00 e4 20 ef 0a # 0x000004b4
+
+# offset 0x000004be: history record, payload 6 bytes
+04 00 06 00 00 00 20 32 ed e1 00 00 02 00 00 00 # 0x000004be
+
+# offset 0x000004ce: page record, payload 31 bytes
+03 00 1f 00 00 00 4a ed 2f c2 02 00 02 00 00 00 # 0x000004ce
+00 00 10 00 c0 00 00 04 00 00 00 08 00 00 00 01 # 0x000004de
+00 42 00 00 00 00 00 00 00 # 0x000004ee
+
+# offset 0x000004f7: page record, payload 31 bytes
+03 00 1f 00 00 00 23 6a 6b 19 02 00 02 00 00 00 # 0x000004f7
+00 00 10 00 c0 00 00 04 00 00 00 08 00 00 00 01 # 0x00000507
+00 41 00 00 00 00 00 00 00 # 0x00000517
+
+# offset 0x00000520: history record, payload 6 bytes
+04 00 06 00 00 00 b8 7a ba b1 01 00 00 00 00 00 # 0x00000520
+
+# offset 0x00000530: finish record, payload 0 bytes
+06 00 00 00 00 00 3e eb 53 3e # 0x00000530
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-apc-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-apc-v1.hex
new file mode 100644
index 00000000..4e3054bb
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-apc-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Incomplete Kitty APC payload.
+07 00 07 00 00 00 bd ff a8 ff 1b 5f 47 64 61 74 61
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-csi-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-csi-v1.hex
new file mode 100644
index 00000000..b83aceca
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-csi-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Incomplete SGR CSI.
+07 00 04 00 00 00 30 d5 20 17 1b 5b 33 31
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-dcs-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-dcs-v1.hex
new file mode 100644
index 00000000..e8e3ebda
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-dcs-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Incomplete supported DCS payload.
+07 00 07 00 00 00 63 ae 0a 1d 1b 50 71 64 61 74 61
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-esc-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-esc-v1.hex
new file mode 100644
index 00000000..0ca1d5b1
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-esc-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Bare ESC leaves the VT parser unfinished.
+07 00 01 00 00 00 1c d9 1d 17 1b
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-ground-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-ground-v1.hex
new file mode 100644
index 00000000..42463c35
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-ground-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Empty payload is the explicit ground-state assertion.
+07 00 00 00 00 00 27 80 63 d1
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-osc-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-osc-v1.hex
new file mode 100644
index 00000000..10d6aef4
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-osc-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Incomplete title OSC.
+07 00 09 00 00 00 39 7d 6e 08 1b 5d 32 3b 74 69 74 6c 65
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-utf8-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-utf8-v1.hex
new file mode 100644
index 00000000..dc07c803
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/continuation-utf8-v1.hex
@@ -0,0 +1,8 @@
+# Ghostty snapshot fixture
+# Kaitai type: continuation_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+
+# Partial four-byte UTF-8 codepoint.
+07 00 03 00 00 00 b8 07 2a 22 f0 9f 98
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/envelope-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/envelope-v1.hex
new file mode 100644
index 00000000..04a7eb6d
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/envelope-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: envelope
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+47 48 4f 53 54 53 4e 50 01 00 # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/grid-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/grid-v1.hex
new file mode 100644
index 00000000..b9a74af3
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/grid-v1.hex
@@ -0,0 +1,15 @@
+# Ghostty snapshot fixture
+# Kaitai type: grid
+# Kaitai params: 4 3
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+34 03 00 04 01 00 00 00 94 00 00 00 00 00 00 00 # 0x00000000
+48 00 00 e1 01 00 00 00 00 00 00 3b 03 00 1e 00 # 0x00000010
+00 00 00 00 00 00 ab ee 32 03 00 10 00 00 00 00 # 0x00000020
+00 00 00 0c 00 00 00 03 00 68 00 69 10 02 00 16 # 0x00000030
+04 21 00 01 00 00 00 00 00 02 00 02 00 01 03 00 # 0x00000040
+00 02 03 00 00 # 0x00000050
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/history-header-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/history-header-v1.hex
new file mode 100644
index 00000000..dc8333e5
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/history-header-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: history_payload
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+01 00 04 03 02 01 # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-explicit-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-explicit-v1.hex
new file mode 100644
index 00000000..7643b203
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-explicit-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: hyperlink
+# Kaitai params: false false
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+02 02 00 00 00 69 64 03 00 00 00 75 72 69 # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-implicit-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-implicit-v1.hex
new file mode 100644
index 00000000..cb15cf12
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/hyperlink-implicit-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: hyperlink
+# Kaitai params: false false
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+01 04 03 02 01 03 00 00 00 75 72 69 # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-empty-record-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-empty-record-v1.hex
new file mode 100644
index 00000000..cda4f1d9
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-empty-record-v1.hex
@@ -0,0 +1,12 @@
+# Ghostty snapshot fixture
+# Kaitai type: page_record
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+03 00 1b 00 00 00 5e 0d 0a d4 01 00 01 00 00 00 # 0x00000000
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 0x00000010
+00 00 00 00 00 # 0x00000020
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-header-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-header-v1.hex
new file mode 100644
index 00000000..b7b00765
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-header-v1.hex
@@ -0,0 +1,11 @@
+# Ghostty snapshot fixture
+# Kaitai type: page_header
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+02 01 04 03 06 05 08 07 0a 09 0c 0b 10 0f 0e 0d # 0x00000000
+14 13 12 11 # 0x00000010
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-v1.hex
new file mode 100644
index 00000000..78018ebb
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/page-v1.hex
@@ -0,0 +1,22 @@
+# Ghostty snapshot fixture
+# Kaitai type: page_payload
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: PAGE header
+03 00 02 00 02 00 02 00 08 00 00 02 80 00 00 00 # 0x00000000
+00 01 00 00 # 0x00000010
+
+# offset 0x00000014: style and hyperlink tables, rows, and cells
+01 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 # 0x00000014
+00 00 03 00 00 00 00 00 01 2a 00 00 00 00 00 00 # 0x00000024
+00 00 00 00 01 00 02 01 00 00 00 61 05 00 00 00 # 0x00000034
+61 6c 70 68 61 03 00 01 04 03 02 01 04 00 00 00 # 0x00000044
+62 65 74 61 34 03 00 04 01 00 04 00 b4 01 00 00 # 0x00000054
+00 00 0c 00 68 03 00 1e 00 00 04 00 20 01 00 3b # 0x00000064
+03 00 e1 01 00 00 00 00 00 00 ab ee 32 03 00 10 # 0x00000074
+00 00 00 00 00 00 00 0c 00 00 01 00 00 00 01 00 # 0x00000084
+00 00 02 00 01 03 00 00 02 03 00 00 # 0x00000094
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/record-page-header-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/record-page-header-v1.hex
new file mode 100644
index 00000000..28e6269a
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/record-page-header-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: record_header
+# Kaitai params: 3
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+03 00 18 00 00 00 1b 44 78 71 # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-header-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-header-v1.hex
new file mode 100644
index 00000000..7a29df76
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-header-v1.hex
@@ -0,0 +1,13 @@
+# Ghostty snapshot fixture
+# Kaitai type: screen_header
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+01 00 03 02 08 07 06 05 04 03 02 01 05 04 07 06 # 0x00000000
+03 19 00 00 00 00 01 7f 00 00 02 12 34 56 ff 03 # 0x00000010
+00 00 0d 0c 0b 0a e4 3d 02 07 01 02 04 08 10 1f # 0x00000020
+00 11 02 03 01 # 0x00000030
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-saved-cursor-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-saved-cursor-v1.hex
new file mode 100644
index 00000000..f4bd7e3a
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/screen-saved-cursor-v1.hex
@@ -0,0 +1,11 @@
+# Ghostty snapshot fixture
+# Kaitai type: saved_cursor
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+02 01 04 03 00 00 00 00 00 00 00 00 00 00 00 00 # 0x00000000
+00 00 00 00 07 e4 3d # 0x00000010
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/style-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/style-v1.hex
new file mode 100644
index 00000000..0e834f87
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/style-v1.hex
@@ -0,0 +1,10 @@
+# Ghostty snapshot fixture
+# Kaitai type: style
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+00 00 00 00 01 7f 00 00 02 12 34 56 ff 03 00 00 # 0x00000000
diff --git a/vendor/libghostty-vt/src/terminal/snapshot/testdata/terminal-header-v1.hex b/vendor/libghostty-vt/src/terminal/snapshot/testdata/terminal-header-v1.hex
new file mode 100644
index 00000000..9c9eb4bf
--- /dev/null
+++ b/vendor/libghostty-vt/src/terminal/snapshot/testdata/terminal-header-v1.hex
@@ -0,0 +1,16 @@
+# Ghostty snapshot fixture
+# Kaitai type: terminal_header
+# Kaitai params:
+# Kaitai offset: 0
+# Wire version: 1
+# Generated by its snapshot test; review before replacing.
+# On mismatch, the candidate is copied to the repository root.
+
+# offset 0x00000000: encoded bytes
+02 01 04 03 08 07 06 05 0c 0b 0a 09 01 00 02 00 # 0x00000000
+03 00 04 00 01 01 00 02 00 41 00 00 00 01 03 02 # 0x00000010
+02 01 04 04 01 21 01 01 00 00 00 00 00 00 00 00 # 0x00000020
+00 00 00 00 02 00 00 01 00 00 00 00 02 00 00 01 # 0x00000030
+01 02 03 00 00 00 00 00 00 00 00 01 04 05 06 01 # 0x00000040
+07 08 09 01 0a 0b 0c ff ff ff ff ff ff ff ff 08 # 0x00000050
+07 06 05 04 03 02 01 # 0x00000060