Skip to content

Claude Code. Any Model. The most powerful AI coding agent now speaks every language.

test(pane): add real Claude Code screens at 350 and 500 columns

Jack Rudenkoaab656ccd453
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-350x80-answer-short.json b/packages/cli/src/pane/test-fixtures/screens/size-350x80-answer-short.json
new file mode 100644
index 00000000..72f7777e
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-350x80-answer-short.json
@@ -0,0 +1,334 @@
+{
+ "source": "wide live capture w-350x80/answer",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 80,
+ "cols": 350,
+ "alt": true,
+ "cursor": {
+ "x": 2,
+ "y": 77
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-350x80/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "⏺ pear",
+ "",
+ "✻ Brewed for 2s · done 1:01 am",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ " ◐ medium · /effort",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on · ? for shortcuts"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 30,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [
+ [
+ 0,
+ 2,
+ 246,
+ 237,
+ 0
+ ],
+ [
+ 2,
+ 61,
+ 231,
+ 237,
+ 0
+ ],
+ [
+ 63,
+ 287,
+ -1,
+ 237,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 0,
+ 1,
+ 231,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 0,
+ 1,
+ 246,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 28,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [
+ [
+ 330,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 1,
+ -1,
+ -1,
+ 16
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 34,
+ 246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-350x80-ask-user-question.json b/packages/cli/src/pane/test-fixtures/screens/size-350x80-ask-user-question.json
new file mode 100644
index 00000000..18cce387
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-350x80-ask-user-question.json
@@ -0,0 +1,492 @@
+{
+ "source": "wide live capture w-350x80/ask",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 80,
+ "cols": 350,
+ "alt": true,
+ "cursor": {
+ "x": 0,
+ "y": 26
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-350x80/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "⏺ pear",
+ "",
+ "✻ Brewed for 2s · done 1:01 am",
+ "",
+ "❯ Use the Write tool to create the file hello.txt containing the word hi. Do nothing else.",
+ "",
+ "⏺ Write(hello.txt)",
+ " ⎿  User rejected write to hello.txt",
+ " 1 hi",
+ "",
+ "✻ Sautéed for 2s · done 1:01 am",
+ "",
+ "❯ Use the AskUserQuestion tool to ask me which fruit I prefer, with exactly two options: Apple and Pear. Do nothing else.",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ☐ Fruit",
+ "",
+ "Which fruit do you prefer?",
+ "",
+ "❯ 1. Apple",
+ " Choose Apple as your preferred fruit.",
+ " 2. Pear",
+ " Choose Pear as your preferred fruit.",
+ " 3. Type something.",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " 4. Chat about this",
+ "",
+ "Enter to select · ↑/↓ to navigate · Esc to cancel",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 30,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [
+ [
+ 0,
+ 2,
+ 246,
+ 237,
+ 0
+ ],
+ [
+ 2,
+ 61,
+ 231,
+ 237,
+ 0
+ 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+ [
+ 5,
+ 5,
+ 153,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 5,
+ 37,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 2,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 5,
+ 36,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [
+ [
+ 0,
+ 49,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ []
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-350x80-permission-write.json b/packages/cli/src/pane/test-fixtures/screens/size-350x80-permission-write.json
new file mode 100644
index 00000000..311fec6e
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-350x80-permission-write.json
@@ -0,0 +1,454 @@
+{
+ "source": "wide live capture w-350x80/permission",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 80,
+ "cols": 350,
+ "alt": true,
+ "cursor": {
+ "x": 1,
+ "y": 23
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-350x80/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "⏺ pear",
+ "",
+ "✻ Brewed for 2s · done 1:01 am",
+ "",
+ "❯ Use the Write tool to create the file hello.txt containing the word hi. Do nothing else.",
+ "",
+ "⏺ Write(hello.txt)",
+ "",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " Create file",
+ " hello.txt",
+ "╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌",
+ " 1 hi",
+ "╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌",
+ " Do you want to create hello.txt?",
+ " ❯ 1. Yes",
+ " 2. Yes, and switch to accept edits (auto-approve file edits and common file commands) for this session (shift+tab)",
+ " 3. No",
+ "",
+ " Esc to cancel · Tab to amend",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+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+ 0
+ ]
+ ],
+ [
+ [
+ 1,
+ 3,
+ 231,
+ -1,
+ 2
+ ],
+ [
+ 4,
+ 2,
+ 231,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 239,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 23,
+ 9,
+ -1,
+ -1,
+ 1
+ ]
+ ],
+ [
+ [
+ 1,
+ 1,
+ 153,
+ -1,
+ 0
+ ],
+ [
+ 3,
+ 3,
+ 246,
+ -1,
+ 0
+ ],
+ [
+ 6,
+ 3,
+ 153,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 3,
+ 3,
+ 246,
+ -1,
+ 0
+ ],
+ [
+ 25,
+ 63,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 106,
+ 11,
+ -1,
+ -1,
+ 1
+ ]
+ ],
+ [
+ [
+ 3,
+ 3,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 1,
+ 28,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ []
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-350x80-repl-boot-empty.json b/packages/cli/src/pane/test-fixtures/screens/size-350x80-repl-boot-empty.json
new file mode 100644
index 00000000..9534a972
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-350x80-repl-boot-empty.json
@@ -0,0 +1,289 @@
+{
+ "source": "wide live capture w-350x80/boot",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 80,
+ "cols": 350,
+ "alt": true,
+ "cursor": {
+ "x": 2,
+ "y": 77
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-350x80/cwd",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ " ◐ medium · /effort",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on · ? for shortcuts · ← for agents"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 30,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [
+ [
+ 330,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 1,
+ -1,
+ -1,
+ 16
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 49,
+ 246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-350x80-repl-typed-long.json b/packages/cli/src/pane/test-fixtures/screens/size-350x80-repl-typed-long.json
new file mode 100644
index 00000000..362251c2
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-350x80-repl-typed-long.json
@@ -0,0 +1,289 @@
+{
+ "source": "wide live capture w-350x80/typed-long",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 80,
+ "cols": 350,
+ "alt": true,
+ "cursor": {
+ "x": 214,
+ "y": 77
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-350x80/cwd",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ " ◐ medium · /effort",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯ Please summarise the purpose of this directory in two sentences, then list three improvements you would make to its layout and naming, and after that explain how you would reorganise the test data folders so that every captured terminal screen is grouped by the width and height it was recorded at, how you would name each file so the Claude Code",
+ " version and the magmux version are obvious at a glance, and finally which checks you would add so that a capture taken at a new size is compared against the older ones before anybody relies on it for the zucchini",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 30,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [
+ [
+ 330,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 214,
+ 1,
+ -1,
+ -1,
+ 16
+ ]
+ ],
+ [
+ [
+ 0,
+ 350,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 16,
+ 246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-350x80-working.json b/packages/cli/src/pane/test-fixtures/screens/size-350x80-working.json
new file mode 100644
index 00000000..ac19fb21
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-350x80-working.json
@@ -0,0 +1,333 @@
+{
+ "source": "wide live capture w-350x80/working",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 80,
+ "cols": 350,
+ "alt": true,
+ "cursor": {
+ "x": 2,
+ "y": 77
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-350x80/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "✳ Swirling…",
+ " ◐ medium · /effort",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯",
+ "──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on · esc to interrupt · ← for agents"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174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246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-500x100-answer-short.json b/packages/cli/src/pane/test-fixtures/screens/size-500x100-answer-short.json
new file mode 100644
index 00000000..3b0a34c7
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-500x100-answer-short.json
@@ -0,0 +1,374 @@
+{
+ "source": "wide live capture w-500x100/answer",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 100,
+ "cols": 500,
+ "alt": true,
+ "cursor": {
+ "x": 2,
+ "y": 97
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-500x100/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "⏺ pear",
+ "",
+ "✻ Cooked for 2s · done 1:01 am",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ " ◐ medium · /effort",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on · ? for shortcuts"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 31,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [
+ [
+ 0,
+ 2,
+ 246,
+ 237,
+ 0
+ ],
+ [
+ 2,
+ 61,
+ 231,
+ 237,
+ 0
+ ],
+ [
+ 63,
+ 437,
+ -1,
+ 237,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 0,
+ 1,
+ 231,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 0,
+ 1,
+ 246,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 28,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [
+ [
+ 480,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 500,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 1,
+ -1,
+ -1,
+ 16
+ ]
+ ],
+ [
+ [
+ 0,
+ 500,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 34,
+ 246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-500x100-ask-user-question.json b/packages/cli/src/pane/test-fixtures/screens/size-500x100-ask-user-question.json
new file mode 100644
index 00000000..e2b03b50
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-500x100-ask-user-question.json
@@ -0,0 +1,532 @@
+{
+ "source": "wide live capture w-500x100/ask",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 100,
+ "cols": 500,
+ "alt": true,
+ "cursor": {
+ "x": 0,
+ "y": 26
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-500x100/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "⏺ pear",
+ "",
+ "✻ Cooked for 2s · done 1:01 am",
+ "",
+ "❯ Use the Write tool to create the file hello.txt containing the word hi. Do nothing else.",
+ "",
+ "⏺ Write(hello.txt)",
+ " ⎿  User rejected write to hello.txt",
+ " 1 hi",
+ "",
+ "✻ Cooked for 2s · done 1:01 am",
+ "",
+ "❯ Use the AskUserQuestion tool to ask me which fruit I prefer, with exactly two options: Apple and Pear. Do nothing else.",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ☐ Fruit",
+ "",
+ "Which fruit do you prefer?",
+ "",
+ "❯ 1. Apple",
+ " You prefer apples.",
+ " 2. Pear",
+ " You prefer pears.",
+ " 3. Type something.",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " 4. Chat about this",
+ "",
+ "Enter to select · ↑/↓ to navigate · Esc to cancel",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1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+ [],
+ [],
+ [],
+ [],
+ []
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-500x100-permission-write.json b/packages/cli/src/pane/test-fixtures/screens/size-500x100-permission-write.json
new file mode 100644
index 00000000..c3fd8348
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-500x100-permission-write.json
@@ -0,0 +1,494 @@
+{
+ "source": "wide live capture w-500x100/permission",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 100,
+ "cols": 500,
+ "alt": true,
+ "cursor": {
+ "x": 1,
+ "y": 23
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-500x100/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "⏺ pear",
+ "",
+ "✻ Cooked for 2s · done 1:01 am",
+ "",
+ "❯ Use the Write tool to create the file hello.txt containing the word hi. Do nothing else.",
+ "",
+ "⏺ Write(hello.txt)",
+ "",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " Create file",
+ " hello.txt",
+ "╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌",
+ " 1 hi",
+ "╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌",
+ " Do you want to create hello.txt?",
+ " ❯ 1. Yes",
+ " 2. Yes, and switch to accept edits (auto-approve file edits and common file commands) for this session (shift+tab)",
+ " 3. No",
+ "",
+ " Esc to cancel · Tab to amend",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",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[],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ []
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-500x100-repl-boot-empty.json b/packages/cli/src/pane/test-fixtures/screens/size-500x100-repl-boot-empty.json
new file mode 100644
index 00000000..c380eaba
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-500x100-repl-boot-empty.json
@@ -0,0 +1,329 @@
+{
+ "source": "wide live capture w-500x100/boot",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 100,
+ "cols": 500,
+ "alt": true,
+ "cursor": {
+ "x": 2,
+ "y": 97
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-500x100/cwd",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ " ◐ medium · /effort",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on · ? for shortcuts · ← for agents"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 31,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [
+ [
+ 480,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 500,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 1,
+ -1,
+ -1,
+ 16
+ ]
+ ],
+ [
+ [
+ 0,
+ 500,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 49,
+ 246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-500x100-repl-typed-long.json b/packages/cli/src/pane/test-fixtures/screens/size-500x100-repl-typed-long.json
new file mode 100644
index 00000000..7f45aa2e
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-500x100-repl-typed-long.json
@@ -0,0 +1,329 @@
+{
+ "source": "wide live capture w-500x100/typed-long",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 100,
+ "cols": 500,
+ "alt": true,
+ "cursor": {
+ "x": 69,
+ "y": 97
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-500x100/cwd",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ " ◐ medium · /effort",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯ Please summarise the purpose of this directory in two sentences, then list three improvements you would make to its layout and naming, and after that explain how you would reorganise the test data folders so that every captured terminal screen is grouped by the width and height it was recorded at, how you would name each file so the Claude Code version and the magmux version are obvious at a glance, and finally which checks you would add so that a capture taken at a new size is compared",
+ " against the older ones before anybody relies on it for the zucchini",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 5,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 7,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 22,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 9,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 11,
+ 31,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [],
+ [
+ [
+ 480,
+ 18,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 500,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [],
+ [
+ [
+ 69,
+ 1,
+ -1,
+ -1,
+ 16
+ ]
+ ],
+ [
+ [
+ 0,
+ 500,
+ 244,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 2,
+ 16,
+ 246,
+ -1,
+ 0
+ ]
+ ]
+ ]
+}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-500x100-working.json b/packages/cli/src/pane/test-fixtures/screens/size-500x100-working.json
new file mode 100644
index 00000000..52d80637
--- /dev/null
+++ b/packages/cli/src/pane/test-fixtures/screens/size-500x100-working.json
@@ -0,0 +1,373 @@
+{
+ "source": "wide live capture w-500x100/working",
+ "claudeCode": "2.1.303",
+ "magmux": "0.16.0",
+ "rows": 100,
+ "cols": 500,
+ "alt": true,
+ "cursor": {
+ "x": 2,
+ "y": 97
+ },
+ "lines": [
+ "",
+ " ▐▛███▛█ Claude Code v2.1.303",
+ "▝▜██████▀ Haiku 5.5 · Claude API",
+ " ▝▝ ▝▝ /private/tmp/rszw/w-500x100/cwd",
+ "",
+ "",
+ "❯ Reply with exactly the word pear and nothing else, thank you.",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "✳ Pontificating…",
+ " ◐ medium · /effort",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ "❯",
+ "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────",
+ " ⏸ manual mode on · esc to interrupt · ← for agents"
+ ],
+ "spans": [
+ [],
+ [
+ [
+ 0,
+ 2,
+ 174,
+ -1,
+ 0
+ ],
+ [
+ 2,
+ 6,
+ 174,
+ 16,
+ 0
+ ],
+ [
+ 11,
+ 11,
+ -1,
+ -1,
+ 1
+ ],
+ [
+ 23,
+ 8,
+ 246,
+ -1,
+ 0
+ ]
+ ],
+ [
+ [
+ 0,
+ 2,
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