fix: restore web terminal multiline paste by reverting scrollback to 10000

- Revert xterm.js scrollback from 0 to 10000; empirical correlation with
  bracketed-paste mode failing (each line submitted as separate command).
- Add temporary browser-console diagnostics to confirm whether xterm receives
  pi's \e[?2004h enable sequence and whether outbound paste is BPM-wrapped.
- Keep CSS scrollbar hiding and wheel-sensitivity 0 so the original scroll-jank
  fix remains effective.

Typecheck: passed (apps/web)
This commit is contained in:
Developer
2026-07-13 13:42:56 +00:00
parent 6191565e80
commit 691bbaa87b
16 changed files with 921 additions and 901 deletions
+25 -8
View File
@@ -152,7 +152,9 @@
}
.font-mono {
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-family:
"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
monospace;
}
.font-medium {
@@ -3817,7 +3819,9 @@ a:active,
color: var(--muted);
cursor: pointer;
border-radius: var(--radius-md);
transition: background 0.12s ease, color 0.12s ease;
transition:
background 0.12s ease,
color 0.12s ease;
}
.delete-btn:hover {
@@ -3844,7 +3848,9 @@ a:active,
font-size: var(--font-size-sm);
font-weight: 500;
text-decoration: none;
transition: background 0.12s ease, border-color 0.12s ease;
transition:
background 0.12s ease,
border-color 0.12s ease;
}
.workspace-header-action-btn:hover {
@@ -3919,7 +3925,9 @@ a:active,
color: var(--muted);
font-size: var(--font-size-xs);
cursor: pointer;
transition: background 0.12s ease, color 0.12s ease;
transition:
background 0.12s ease,
color 0.12s ease;
}
.copy-button:hover {
@@ -4165,7 +4173,10 @@ a:active,
}
.drag-item-active {
background: var(--brand-light, color-mix(in srgb, var(--brand) 10%, transparent));
background: var(
--brand-light,
color-mix(in srgb, var(--brand) 10%, transparent)
);
border-color: var(--brand);
}
@@ -4181,7 +4192,9 @@ a:active,
padding: var(--space-4);
border-radius: var(--radius-md);
overflow: auto;
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-family:
"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
monospace;
font-size: var(--font-size-sm);
line-height: var(--line-height-normal);
}
@@ -4329,7 +4342,9 @@ a:active,
color: var(--muted);
cursor: pointer;
font-weight: 600;
transition: border-color 0.15s, color 0.15s;
transition:
border-color 0.15s,
color 0.15s;
}
.sidebar-create-button:hover {
@@ -4354,7 +4369,9 @@ a:active,
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.15s ease, box-shadow 0.15s ease;
transition:
transform 0.15s ease,
box-shadow 0.15s ease;
}
.mobile-fab:hover {