@vincemakes/kiso-tui 0.15.10 → 0.15.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/compositor.js +17 -0
  2. package/package.json +2 -2
@@ -1474,6 +1474,23 @@ export class Body {
1474
1474
  // it; inside the frame it is four sequences and no new event.
1475
1475
  this.#needsReset = false;
1476
1476
  out.push("\x1b[r\x1b[?69l\x1b[?7h\x1b[?25h");
1477
+ // REL-0152-D20 — the mechanism is understood and the obvious fix
1478
+ // is NOT taken here. See the finding.
1479
+ //
1480
+ // The first frame addresses rows 1..H absolutely and draws over
1481
+ // whatever the terminal was showing. Scrolling a screenful away
1482
+ // first would fix that, and it was built and measured: it pushes
1483
+ // up to H BLANK rows into the scrollback, and TUI2-R2pre's
1484
+ // blank-share gate went from 14/43 to 29/43 — past the "a
1485
+ // healthy session's scrollback is mostly content" invariant that
1486
+ // gate exists to hold. Trading a symptom with a five-second
1487
+ // user-side setting for a broken invariant is a worse deal.
1488
+ //
1489
+ // The correct version scrolls only as far as the terminal's
1490
+ // content actually reaches, which needs a cursor-position query
1491
+ // at boot — its own round, with its own risk (this file already
1492
+ // declined a boot-time round-trip once, for racing the editor
1493
+ // for stdin).
1477
1494
  }
1478
1495
  out.push("\x1b[?7l");
1479
1496
  out.push(this.#conservative ? "\x1b[?25l" : "\x1b[?2026h"); // D1: sync ON, or cursor-hide where 2026 is dead bytes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-tui",
3
- "version": "0.15.10",
3
+ "version": "0.15.12",
4
4
  "description": "kiso tui \u2014 the pure terminal layer (cell renderer, dock, raw editor, diff, palette). Zero runtime dependencies: input is data, output is bytes.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -35,6 +35,6 @@
35
35
  },
36
36
  "homepage": "https://github.com/vincemakes/kiso/tree/main/packages/tui#readme",
37
37
  "dependencies": {
38
- "@vincemakes/kiso-tui-cells": "0.15.10"
38
+ "@vincemakes/kiso-tui-cells": "0.15.12"
39
39
  }
40
40
  }