sessioncast-cli 2.0.6 → 2.0.7
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.
|
@@ -102,13 +102,13 @@ class TmuxSessionHandler {
|
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
if (pane) {
|
|
105
|
-
|
|
106
|
-
tmux
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
console.log(`[${this.tmuxSession}] Resize: ${cols}x${rows}`);
|
|
110
|
-
tmux.resizeWindow(this.tmuxSession, cols, rows);
|
|
105
|
+
// Ignore pane-level resizes — they cause cascading layout instability.
|
|
106
|
+
// Only window-level resizes are applied; tmux handles pane distribution.
|
|
107
|
+
console.log(`[${this.tmuxSession}] Ignoring pane resize ${pane}: ${cols}x${rows} (window-only policy)`);
|
|
108
|
+
return;
|
|
111
109
|
}
|
|
110
|
+
console.log(`[${this.tmuxSession}] Resize: ${cols}x${rows}`);
|
|
111
|
+
tmux.resizeWindow(this.tmuxSession, cols, rows);
|
|
112
112
|
});
|
|
113
113
|
this.wsClient.on('createSession', (name) => {
|
|
114
114
|
console.log(`[${this.tmuxSession}] Create session request: ${name}`);
|