fix: unify Console prompt and output and keep splitters above pane chrome
Verify Tessera GUI / verify (push) Failing after 7m13s

This commit is contained in:
2026-10-20 20:19:34 +08:00
parent 53e8d7b287
commit 098fe45129
6 changed files with 173 additions and 134 deletions
+12 -5
View File
@@ -172,7 +172,7 @@ source budgets and VM instruction limits are not a complete untrusted-code sandb
Toggle developer tools with Command-Option-I or F12 on macOS, Control-Shift-I or
F12 on Windows/Linux. The compact Console, Sources, Network and Settings tabs
share a draggable dock edge. Console's editor boundary, the Sources tree/source
share a draggable dock edge. The Sources tree/source
boundary and Network's request/details boundary can also be dragged. Each content
area has independent vertical and horizontal scrolling, draggable scrollbar thumbs,
and trackpad support. Shift-wheel scrolls horizontally. Layout uses logical pixels
@@ -180,7 +180,12 @@ and the actual display scale; resize clamps pane sizes to keep controls reachabl
Console is one live execution context: statements, function definitions and
expressions use the same VM and globals dictionary across submissions. There is no
Expression/Script selector. Enter runs the input; Shift-Enter inserts a newline.
Expression/Script selector. The current prompt, submitted commands and results
share one scrollable surface, with no separate input box, editor splitter or Run
toolbar. Typing appears at the prompt immediately; Enter executes it and the result
appears directly below. Shift-Enter inserts a newline. Input focus uses a text caret,
without a blue field border or hover fill. The prompt, history and caret share the
same scroll offset; typing and cursor navigation reveal the current insertion point.
Create objects with bare assignment or `let`, then render them when ready:
```endor
@@ -226,7 +231,7 @@ failed statements; it is not guaranteed to replay as a standalone program.
External HTTP activity appears in the same transcript. Unsupported language
operations (currently numeric arithmetic bytecode) show actual diagnostics. Transport
failures appear beside the editor and restore an otherwise empty draft.
failures appear in the Console footer and restore an otherwise empty draft.
Sources shows the full source snapshot or Console transcript with line numbers, Aster's
AST and selected source ranges. Selecting an AST node scrolls to its location while
@@ -255,8 +260,10 @@ widget library, independent of Endor-controlled page widgets. Buttons, tabs,
toggles, rows, input fields, color swatches and drag handles share hover, pressed,
selected, focus and disabled presentation. Buttons activate on release inside;
dragging outside cancels. Tab/Shift-Tab navigate enabled controls and Enter/Space
activate focused buttons. Plain Tab still indents in the Console editor. Empty
Run/Clear actions are disabled. macOS clipboard reads and writes explicitly use
activate focused buttons. Plain Tab still indents at the Console prompt. Empty
Clear actions are disabled. Splitters are painted and registered above all pane
backgrounds, toolbars and status bars, so their entire length stays visible and
draggable. macOS clipboard reads and writes explicitly use
UTF-8 even when launched from Finder, and decoding errors are surfaced.
## Validation