@cplieger/web-terminal-ui 6.1.5 → 7.0.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cplieger/web-terminal-ui",
3
- "version": "6.1.5",
3
+ "version": "7.0.0",
4
4
  "type": "module",
5
5
  "description": "Reference touch-first browser UI for @cplieger/web-terminal-engine: a composable kernel + feature modules (tabs, activity monitor, mobile toolbar, context menu, IME, predictive echo, viewport handling) and CSS. One createTerminal() call.",
6
6
  "license": "MPL-2.0",
@@ -40,7 +40,7 @@
40
40
  "verify": "bash scripts/verify.sh"
41
41
  },
42
42
  "peerDependencies": {
43
- "@cplieger/web-terminal-engine": "^3.10.0 || ^4.0.0 || ^5.0.0"
43
+ "@cplieger/web-terminal-engine": "^5.0.3"
44
44
  },
45
45
  "overrides": {
46
46
  "qs": "^6.15.2"
@@ -601,7 +601,13 @@ function buildTerminal(
601
601
 
602
602
  connection.init({
603
603
  computeSize: render.computeSize,
604
- getHaveThrough: render.getHighestIndex,
604
+ // getHaveThrough is deliberately NOT supplied. The engine defaults it to its
605
+ // own renderer (engine >= 5.0.3), which is the only party that knows which
606
+ // store is currently bound and which of its rows the server has confirmed.
607
+ // Supplying it from here is what claimed rows the application had merely
608
+ // DRAWN — `render.getHighestIndex` is the window's bottom row — and left a
609
+ // frozen copy of the composer parked in scrollback on almost every reattach.
610
+ // An explicit member wins over the default, so re-adding one reopens that.
605
611
  // --- Demand-paged scrollback (engine docs/paged-scrollback.md §4-5) ---
606
612
  // The transport is store-blind and viewport-blind by design, so every one of
607
613
  // these forwards a decision only the renderer can make. Without them the