Until now the input was pinned at rows="1" — paste a 40-line program and you edited it through a one-line keyhole. autosizeInput() now sets height to scrollHeight on every input event, history navigation, and post-send clear. CSS min/max-height (1.5em / 30vh) clamp the bounds; once the textarea hits 30vh it scrolls internally instead of pushing the prompt-bar off screen. Prompt sigil top-aligns (align-self: start + matching padding-top) so the λ> stays on the first line of input instead of drifting to vertical-center as the textarea grows. Smoke-tested headless: 1-line stays 22px, 6-line grows to 97px, 40-line caps at 216px (30vh of 720px) with scrollHeight 608 (internal scroll engaged), send empties back to 22px. Zero page errors. |
||
|---|---|---|
| .. | ||
| app | ||
| asm | ||
| c | ||
| dist-repl | ||
| python | ||
| repl | ||
| tests | ||
| Makefile | ||