pi-stereo-view 0.1.21 → 0.1.22
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 +1 -1
- package/src/layout.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.22 - 2026-11-21
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Ctrl+G no longer crashes Pi when opening an external editor from split view. Pi returns to the same layout with the edited draft when the editor closes. Thanks to [@okuuva](https://github.com/okuuva) for the fix ([#120](https://github.com/alexshpunt/pi-stereo-view/pull/120)).
|
|
10
|
+
|
|
5
11
|
## 0.1.21 - 2026-11-19
|
|
6
12
|
|
|
7
13
|
### Added
|
package/package.json
CHANGED
package/src/layout.ts
CHANGED
|
@@ -386,6 +386,8 @@ export class TranscriptLayout {
|
|
|
386
386
|
return pass.shown;
|
|
387
387
|
};
|
|
388
388
|
const evaluate = ({ width, height }: { width: number; height: number }): boolean => {
|
|
389
|
+
// Width-only stack rendering during external-editor handoff has no viewport height bound.
|
|
390
|
+
height = Math.min(height, Math.max(1, host.terminal.rows));
|
|
389
391
|
const previousHeight = historyHeight;
|
|
390
392
|
const candidate = !!projectedDock && (widgetsPresent() || dialogPresent()) && dockUnchanged() && !this.failed &&
|
|
391
393
|
this.preferences.mode === "split" && this.preferences.zoom !== "chat";
|