@ekkos/cli 1.2.3 → 1.2.4
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/dist/commands/run.js +3 -2
- package/package.json +1 -1
package/dist/commands/run.js
CHANGED
|
@@ -879,6 +879,7 @@ function launchWithDashboard(options) {
|
|
|
879
879
|
/**
|
|
880
880
|
* Launch dashboard in a new Windows Terminal pane to the right (40%).
|
|
881
881
|
* Claude Code continues in the current (left) pane (60%).
|
|
882
|
+
* Mirrors the macOS tmux layout: Claude left 60%, dashboard right 40%.
|
|
882
883
|
*/
|
|
883
884
|
function launchWithWindowsTerminal() {
|
|
884
885
|
const ekkosCmd = process.argv[1];
|
|
@@ -890,11 +891,11 @@ function launchWithWindowsTerminal() {
|
|
|
890
891
|
fs.writeFileSync(markerPath, `${launchTime}\n${cwd}`);
|
|
891
892
|
}
|
|
892
893
|
catch { }
|
|
893
|
-
const dashCommand = `node "${ekkosCmd}" dashboard --wait-for-new --refresh 2000`;
|
|
894
894
|
try {
|
|
895
895
|
// Spawn dashboard in a RIGHT pane (40%), Claude stays in current LEFT pane (60%)
|
|
896
896
|
// -V = vertical split, -s 0.4 = new pane gets 40% width
|
|
897
|
-
|
|
897
|
+
// Using -- separator: no cmd.exe wrapper, no command prompt flash
|
|
898
|
+
(0, child_process_1.execSync)(`wt.exe -w 0 split-pane -V -s 0.4 -d "${cwd}" -- node "${ekkosCmd}" dashboard --wait-for-new --refresh 2000`, { stdio: 'pipe' });
|
|
898
899
|
console.log(chalk_1.default.cyan('\n Dashboard launched in right pane (40%)'));
|
|
899
900
|
console.log(chalk_1.default.gray(' Switch panes: Alt+Arrow keys\n'));
|
|
900
901
|
}
|