pi-extension-utils 0.7.5 → 0.7.6

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.
@@ -76,6 +76,7 @@ export function createUiClient(fullscreen, ctx, capture = createTuiModeCapture()
76
76
  if (restored)
77
77
  return;
78
78
  restored = true;
79
+ priorRoot?.invalidate?.();
79
80
  layoutTui.setLayoutRoot(priorRoot);
80
81
  layoutTui.requestRender?.(true);
81
82
  };
package/docs/client.md CHANGED
@@ -45,7 +45,7 @@ await client.ui.fullscreen((tui, theme, keybindings, done) => new MyComponent(tu
45
45
  - acquires a fullscreen lease
46
46
  - blanks coordinated widgets
47
47
  - preserves the regular-TUI editor-slot mount
48
- - temporarily replaces a capable fullscreen viewport TUI's layout root with the dashboard and forces redraws on install and restoration
48
+ - temporarily replaces a capable fullscreen viewport TUI's layout root with the dashboard; restoration invalidates the prior root when supported, reinstalls that exact root, then forces a redraw
49
49
  - uses the overlay path as the safe cold-start/fallback mount without rendering the real dashboard twice
50
50
  - releases the lease in `finally`
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-extension-utils",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "Shared Pi extension utilities for coordinated widgets, fullscreen leases, and logging.",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",