Skip to content

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

test(pane): recapture the 40x24 screens without magmux's status row

Jack Rudenko07afec41a3c5
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-answer-short.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-answer-short.json
index eed13c23..dfbff654 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-answer-short.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-answer-short.json
@@ -5,18 +5,18 @@
"gate": {
"ready": true
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 2,
- "y": 17
+ "y": 18
},
"lines": [
"",
" ▐▛███▛█ Claude Code v2.1.304",
"▝▜██████▀ Haiku 5.5 · Claude Max",
- " ▝▝ ▝▝ /…/T/cap40-ifnQGh/cwd",
+ " ▝▝ ▝▝ /…/T/cap40-ysvN5z/cwd",
"",
"",
"❯ Reply with exactly the word pear and",
@@ -24,7 +24,8 @@
"",
"⏺ pear",
"",
- "✻ Crunched for 1s · done 12:31 am",
+ "✻ Sautéed for 1s · done 12:42 am",
+ "",
"",
"",
"",
@@ -32,9 +33,9 @@
"────────────────────────────────────────",
"❯",
"────────────────────────────────────────",
- " * Haiku | $0.00 | 5s | 󰍛 466M",
- " ctx ░░░░░░ 4%",
- " plan ████▀▀▀▀-- 5h:87% ↻2h38m 7d…",
+ " * Haiku | $0.00 | 6s | 󰍛 472M",
+ " ctx ░░░░░░ 3%",
+ " plan ▄▄▄▄▄▄▄▄-- 5h:5% ↻4h47m 7d:8…",
" ⏸ manual mode on · ← 3 agents"
],
"spans": [
@@ -49,7 +50,8 @@
[],
[[0, 1, 16, -1, 0]],
[],
- [[0, 1, 241, -1, 0], [2, 31, 241, -1, 0]],
+ [[0, 1, 241, -1, 0], [2, 30, 241, -1, 0]],
+ [],
[],
[],
[],
@@ -78,11 +80,11 @@
[8, 8, 202, -1, 0],
[16, 2, 245, -1, 0],
[18, 1, 241, -1, 0],
- [19, 8, 238, 217, 1],
- [27, 1, 241, -1, 0],
- [28, 6, 166, -1, 1],
- [34, 1, 241, -1, 0],
- [35, 3, 66, -1, 0]
+ [19, 5, 66, -1, 0],
+ [24, 1, 241, -1, 0],
+ [25, 6, 245, -1, 0],
+ [31, 1, 241, -1, 0],
+ [32, 6, 238, 217, 1]
],
[[2, 29, 241, -1, 0]]
]
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-ask-user-question.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-ask-user-question.json
index c3c2cb48..c9f94211 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-ask-user-question.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-ask-user-question.json
@@ -7,15 +7,16 @@
"reason": "dialog:question",
"detail": "a question dialog is showing"
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 0,
- "y": 11
+ "y": 12
},
"lines": [
"",
+ "✻ Churned for 1s · done 12:42 am",
"",
"❯ Use the AskUserQuestion tool to ask",
" me which fruit I prefer, with the",
@@ -41,6 +42,7 @@
],
"spans": [
[],
+ [[0, 1, 241, -1, 0], [2, 30, 241, -1, 0]],
[],
[[0, 2, 241, 255, 0], [2, 36, 16, 255, 0], [38, 2, -1, 255, 0]],
[[0, 2, -1, 255, 0], [2, 34, 16, 255, 0], [36, 4, -1, 255, 0]],
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-echo-submitted.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-echo-submitted.json
deleted file mode 100644
index 9c63a54a..00000000
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-echo-submitted.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "source": "MTL-140 live capture 40x24/echo-submitted",
- "claudeCode": "2.1.304",
- "magmux": "0.18.0",
- "gate": {
- "ready": true
- },
- "rows": 23,
- "cols": 40,
- "alt": true,
- "cursor": {
- "x": 2,
- "y": 17
- },
- "lines": [
- "",
- " ▐▛███▛█ Claude Code v2.1.304",
- "▝▜██████▀ Haiku 5.5 · Claude Max",
- " ▝▝ ▝▝ /…/T/cap40-GwlKrW/cwd",
- "",
- "",
- "❯ Reply with exactly the word pear and",
- " nothing else, thank you.",
- "",
- "",
- "",
- "",
- "",
- "",
- "✻ Osmosing… (0s)",
- " ◐ medium · /effort",
- "────────────────────────────────────────",
- "❯",
- "────────────────────────────────────────",
- " * Haiku | $0.00 | 0s | 󰍛 381M",
- " ctx ░░░░░░ 0%",
- " plan ████▀▀▀▀-- 5h:85% ↻2h40m 7d…",
- " ⏸ manual mode on · ← 3 agents"
- ],
- "spans": [
- [],
- [[0, 2, 174, -1, 0], [2, 6, 174, 16, 0], [11, 11, -1, -1, 1], [23, 8, 241, -1, 0]],
- [[0, 2, 174, -1, 0], [2, 5, 174, 16, 0], [7, 2, 174, -1, 0], [11, 22, 241, -1, 0]],
- [[0, 9, 174, -1, 0], [11, 21, 241, -1, 0]],
- [],
- [],
- [[0, 2, 241, 255, 0], [2, 37, 16, 255, 0], [39, 1, -1, 255, 0]],
- [[0, 2, -1, 255, 0], [2, 24, 16, 255, 0], [26, 14, -1, 255, 0]],
- [],
- [],
- [],
- [],
- [],
- [],
- [
- [0, 1, 174, -1, 0],
- [2, 5, 174, -1, 0],
- [7, 3, 216, -1, 0],
- [10, 2, 174, -1, 0],
- [12, 4, 241, -1, 0]
- ],
- [[20, 18, 241, -1, 0]],
- [[0, 40, 245, -1, 0]],
- [[0, 2, 241, -1, 0]],
- [[0, 40, 245, -1, 0]],
- [
- [2, 7, 30, -1, 1],
- [9, 1, 241, -1, 0],
- [10, 1, 245, -1, 0],
- [11, 1, 241, -1, 0],
- [12, 5, 130, -1, 0],
- [17, 1, 241, -1, 0],
- [18, 1, 245, -1, 0],
- [19, 1, 241, -1, 0],
- [20, 2, 96, -1, 0],
- [22, 1, 241, -1, 0],
- [23, 1, 245, -1, 0],
- [24, 1, 241, -1, 0],
- [25, 6, 30, -1, 0]
- ],
- [[2, 12, 245, -1, 0], [14, 1, 241, -1, 0], [15, 2, 65, -1, 0]],
- [
- [2, 6, 245, -1, 0],
- [8, 8, 202, -1, 0],
- [16, 2, 245, -1, 0],
- [18, 1, 241, -1, 0],
- [19, 8, 238, 217, 1],
- [27, 1, 241, -1, 0],
- [28, 6, 166, -1, 1],
- [34, 1, 241, -1, 0],
- [35, 3, 66, -1, 0]
- ],
- [[2, 29, 241, -1, 0]]
- ]
-}
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-bash.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-bash.json
index 65789169..cb15398b 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-bash.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-bash.json
@@ -8,14 +8,15 @@
"detail": "a permission dialog is showing",
"dismissable": true
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 1,
- "y": 15
+ "y": 16
},
"lines": [
+ "",
"❯ Run the shell command: ls -la",
" /etc/hosts. Do nothing else.",
"",
@@ -41,6 +42,7 @@
" Esc to cancel · Tab to amend"
],
"spans": [
+ [],
[[0, 2, 241, 255, 0], [2, 30, 16, 255, 0], [32, 8, -1, 255, 0]],
[[0, 2, -1, 255, 0], [2, 28, 16, 255, 0], [30, 10, -1, 255, 0]],
[],
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-write-long-path.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-write-long-path.json
index 5081c5af..89ca6d9d 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-write-long-path.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-permission-write-long-path.json
@@ -8,18 +8,19 @@
"detail": "a permission dialog is showing",
"dismissable": true
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 1,
- "y": 15
+ "y": 16
},
"lines": [
+ "",
"",
"⏺ Write(/private/var/folders/ch/50hwlbxs",
- " 7k588shf059gzzph0000gn/T/cap40-Gw",
- " lKrW/cwd/deeply/nested/directory/",
+ " 7k588shf059gzzph0000gn/T/cap40-ys",
+ " vN5z/cwd/deeply/nested/directory/",
" structure/for/the/resize/fixture/",
" capture/run/with/a/very/long/path",
" /name/hello.txt)",
@@ -41,6 +42,7 @@
" Esc to cancel · Tab to amend"
],
"spans": [
+ [],
[],
[[0, 1, 241, -1, 0], [2, 5, -1, -1, 1]],
[],
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-boot-empty.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-boot-empty.json
index 22aec70e..6b3ee23a 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-boot-empty.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-boot-empty.json
@@ -5,18 +5,19 @@
"gate": {
"ready": true
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 2,
- "y": 17
+ "y": 18
},
"lines": [
"",
" ▐▛███▛█ Claude Code v2.1.304",
"▝▜██████▀ Haiku 5.5 · Claude Max",
- " ▝▝ ▝▝ /…/T/cap40-DmdzuA/cwd",
+ " ▝▝ ▝▝ /…/T/cap40-ysvN5z/cwd",
+ "",
"",
"",
"",
@@ -32,9 +33,9 @@
"────────────────────────────────────────",
"❯",
"────────────────────────────────────────",
- " * Haiku | $0.00 | 0s | 󰍛 384M",
+ " * Haiku | $0.00 | 2s | 󰍛 390M",
" ctx ░░░░░░ 0%",
- " plan ████▀▀▀▀-- 5h:83% ↻2h42m 7d…",
+ " plan █████▀▀▀-- 5h:87% ↻2h27m 7d…",
" ⏸ manual mode on · ← 3 agents"
],
"spans": [
@@ -53,6 +54,7 @@
[],
[],
[],
+ [],
[[20, 18, 241, -1, 0]],
[[0, 40, 245, -1, 0]],
[],
@@ -82,7 +84,7 @@
[27, 1, 241, -1, 0],
[28, 6, 166, -1, 1],
[34, 1, 241, -1, 0],
- [35, 3, 66, -1, 0]
+ [35, 3, 61, -1, 0]
],
[[2, 29, 241, -1, 0]]
]
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-typed-long.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-typed-long.json
index baf383ba..bb655dfd 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-typed-long.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-repl-typed-long.json
@@ -8,15 +8,16 @@
"detail": "the input box already holds text",
"boxHasText": true
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 31,
- "y": 17
+ "y": 18
},
"lines": [
"",
+ "✻ Churned for 1s · done 12:42 am",
"",
"❯ Use the AskUserQuestion tool to ask",
" me which fruit I prefer, with the",
@@ -27,7 +28,7 @@
" ⎿  · Which fruit do you prefer? (Apple",
" / Pear / Plum)",
"",
- "✻ Brewed for 1s · done 12:29 am",
+ "✻ Sautéed for 1s · done 12:42 am",
" ◐ medium · /effort",
"────────────────────────────────────────",
"❯ Please summarise the purpose of this",
@@ -35,13 +36,14 @@
" list three improvements you would",
" make to its layout and naming",
"────────────────────────────────────────",
- " * Haiku | $0.01 | 23s | 󰍛 508M",
- " ctx ░░░░░░ 4%",
- " plan ████▀▀▀▀-- 5h:86% ↻2h40m 7d…",
+ " * Haiku | $0.01 | 28s | 󰍛 514M",
+ " ctx ░░░░░░ 3%",
+ " plan ▄▄▄▄▄▄▄▄-- 5h:5% ↻4h47m 7d:8…",
" ⏸ manual mode on"
],
"spans": [
[],
+ [[0, 1, 241, -1, 0], [2, 30, 241, -1, 0]],
[],
[[0, 2, 241, 255, 0], [2, 36, 16, 255, 0], [38, 2, -1, 255, 0]],
[[0, 2, -1, 255, 0], [2, 34, 16, 255, 0], [36, 4, -1, 255, 0]],
@@ -52,7 +54,7 @@
[[0, 40, 241, -1, 0]],
[[5, 14, 241, -1, 0]],
[],
- [[0, 1, 241, -1, 0], [2, 29, 241, -1, 0]],
+ [[0, 1, 241, -1, 0], [2, 30, 241, -1, 0]],
[[20, 18, 241, -1, 0]],
[[0, 40, 245, -1, 0]],
[],
@@ -81,11 +83,11 @@
[8, 8, 202, -1, 0],
[16, 2, 245, -1, 0],
[18, 1, 241, -1, 0],
- [19, 8, 238, 217, 1],
- [27, 1, 241, -1, 0],
- [28, 6, 166, -1, 1],
- [34, 1, 241, -1, 0],
- [35, 3, 66, -1, 0]
+ [19, 5, 66, -1, 0],
+ [24, 1, 241, -1, 0],
+ [25, 6, 245, -1, 0],
+ [31, 1, 241, -1, 0],
+ [32, 6, 238, 217, 1]
],
[[2, 16, 241, -1, 0]]
]
diff --git a/packages/cli/src/pane/test-fixtures/screens/size-40x24-working.json b/packages/cli/src/pane/test-fixtures/screens/size-40x24-working.json
index ee98375f..0300f450 100644
--- a/packages/cli/src/pane/test-fixtures/screens/size-40x24-working.json
+++ b/packages/cli/src/pane/test-fixtures/screens/size-40x24-working.json
@@ -3,23 +3,20 @@
"claudeCode": "2.1.304",
"magmux": "0.18.0",
"gate": {
- "ready": false,
- "reason": "box_not_empty",
- "detail": "the input box already holds text",
- "boxHasText": true
+ "ready": true
},
- "rows": 23,
+ "rows": 24,
"cols": 40,
"alt": true,
"cursor": {
"x": 2,
- "y": 17
+ "y": 18
},
"lines": [
"",
" ▐▛███▛█ Claude Code v2.1.304",
"▝▜██████▀ Haiku 5.5 · Claude Max",
- " ▝▝ ▝▝ /…/T/cap40-ifnQGh/cwd",
+ " ▝▝ ▝▝ /…/T/cap40-ysvN5z/cwd",
"",
"",
"❯ Reply with exactly the word pear and",
@@ -29,15 +26,16 @@
"",
"",
"",
- "✽ Flowing… (",
+ "",
+ "✢ Hullaballooing… (",
"running UserPromptSubmit hook · 0s)",
" ◐ medium · /effort",
"────────────────────────────────────────",
"❯",
"────────────────────────────────────────",
- " * Haiku | $0.00 | 1s | 󰍛 373M",
+ " * Haiku | $0.00 | 2s | 󰍛 390M",
" ctx ░░░░░░ 0%",
- " plan █████▀▀▀-- 5h:86% ↻2h38m 7d…",
+ " plan █████▀▀▀-- 5h:87% ↻2h27m 7d…",
" ⏸ manual mode on · ← 3 agents"
],
"spans": [
@@ -54,12 +52,13 @@
[],
[],
[],
+ [],
[
[0, 1, 174, -1, 0],
- [2, 2, 174, -1, 0],
- [4, 3, 216, -1, 0],
- [7, 4, 174, -1, 0],
- [11, 1, 241, -1, 0]
+ [2, 6, 174, -1, 0],
+ [8, 3, 216, -1, 0],
+ [11, 7, 174, -1, 0],
+ [18, 1, 241, -1, 0]
],
[[0, 35, 241, -1, 0]],
[[20, 18, 241, -1, 0]],