Browse Source

fix(herdr): fix Windows path normalization regression in spawnPane

Both runSplit call sites now pass the normalized attachDir instead of
the raw directory argument, preserving the Windows backslash fix from
issue #568 (commit b601876).
Michael Henke 4 weeks ago
parent
commit
f79260f05a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/multiplexer/herdr/index.ts

+ 2 - 2
src/multiplexer/herdr/index.ts

@@ -89,7 +89,7 @@ export class HerdrMultiplexer implements Multiplexer {
         const result = await this.runSplit(
           [this.agentAreaPaneId],
           'down',
-          directory,
+          attachDir,
         );
         paneId = result.paneId;
         if (!paneId) {
@@ -104,7 +104,7 @@ export class HerdrMultiplexer implements Multiplexer {
         const result = await this.runSplit(
           this.targetPaneArg(),
           this.paneDirection,
-          directory,
+          attachDir,
         );
         paneId = result.paneId;
         lastRawOutput = result.rawOutput;