agileflow 4.0.0-alpha.21 → 4.0.0-alpha.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/package.json
CHANGED
|
@@ -22,6 +22,8 @@ const {
|
|
|
22
22
|
sessionExists,
|
|
23
23
|
createSession,
|
|
24
24
|
applyKeybindPreset,
|
|
25
|
+
applyTabFormat,
|
|
26
|
+
detectTmuxVersion,
|
|
25
27
|
defaultRunner,
|
|
26
28
|
} = require("./tmux.js");
|
|
27
29
|
const { createWorktree, removeWorktree } = require("./worktree.js");
|
|
@@ -185,6 +187,14 @@ async function runParallelSpawn(opts) {
|
|
|
185
187
|
}
|
|
186
188
|
}
|
|
187
189
|
|
|
190
|
+
// Apply the tab strip styling to the new session — without this,
|
|
191
|
+
// Alt+s and Alt+n spawn sessions with tmux's default green status
|
|
192
|
+
// bar. Same call the engine does on every fresh-launch session.
|
|
193
|
+
runner.runSync(["set-option", "-t", sessionName, "status", "1"]);
|
|
194
|
+
applyTabFormat(sessionName, runner, {
|
|
195
|
+
tmuxVersion: detectTmuxVersion(runner),
|
|
196
|
+
});
|
|
197
|
+
|
|
188
198
|
// Swap the user's tmux client to the new session. If switch-client
|
|
189
199
|
// fails the session is still alive — surface its name so the user
|
|
190
200
|
// can attach manually.
|