@oh-my-pi/pi-tui 15.10.7 → 15.10.8
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/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/src/tui.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [15.10.8] - 2026-06-09
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fixed TUI renders repeatedly clearing terminal scrollback after content filled the viewport. Unknown viewport probes no longer let foreground-streaming offscreen growth take the destructive `historyRebuild` path on every frame; newly appended tail rows stay reachable while stale history waits for a safe checkpoint. ([#2154](https://github.com/can1357/oh-my-pi/issues/2154))
|
|
10
|
+
|
|
5
11
|
## [15.10.6] - 2026-06-08
|
|
6
12
|
|
|
7
13
|
### Added
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-tui",
|
|
4
|
-
"version": "15.10.
|
|
4
|
+
"version": "15.10.8",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://omp.sh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@oh-my-pi/pi-natives": "15.10.
|
|
41
|
-
"@oh-my-pi/pi-utils": "15.10.
|
|
40
|
+
"@oh-my-pi/pi-natives": "15.10.8",
|
|
41
|
+
"@oh-my-pi/pi-utils": "15.10.8",
|
|
42
42
|
"lru-cache": "11.5.1",
|
|
43
43
|
"marked": "^18.0.4"
|
|
44
44
|
},
|
package/src/tui.ts
CHANGED
|
@@ -1879,11 +1879,10 @@ export class TUI extends Container {
|
|
|
1879
1879
|
(this.#previousHeight > 0 && this.#previousHeight !== height) ||
|
|
1880
1880
|
(resizeEventOccurred && this.#previousHeight > 0);
|
|
1881
1881
|
const eagerEraseScrollbackRisk = this.#hasEagerEraseScrollbackRisk();
|
|
1882
|
-
const eagerRebuildAllowed = this.#eagerNativeScrollbackRebuild && !eagerEraseScrollbackRisk;
|
|
1883
1882
|
const focusChanged = this.#focusChangedSinceLastRender;
|
|
1884
1883
|
this.#focusChangedSinceLastRender = false;
|
|
1885
1884
|
const explicitViewportMutation = this.#allowUnknownViewportMutationOnNextRender || focusChanged;
|
|
1886
|
-
const allowUnknownViewportMutation = explicitViewportMutation
|
|
1885
|
+
const allowUnknownViewportMutation = explicitViewportMutation;
|
|
1887
1886
|
this.#allowUnknownViewportMutationOnNextRender = false;
|
|
1888
1887
|
|
|
1889
1888
|
// 3. Classify intent.
|