Skip to content

Commit 7bfb95f

Browse files
committed
fix: ptyxis does not start with given working directory (#1005)
Signed-off-by: leo <[email protected]>
1 parent c849c13 commit 7bfb95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Native/Linux.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void OpenTerminal(string workdir)
7474
if (terminal.EndsWith("wezterm", StringComparison.OrdinalIgnoreCase))
7575
startInfo.Arguments = $"start --cwd \"{cwd}\"";
7676
else if (terminal.EndsWith("ptyxis", StringComparison.OrdinalIgnoreCase))
77-
startInfo.Arguments = $"--working-directory=\"{cwd}\"";
77+
startInfo.Arguments = $"--new-window --working-directory=\"{cwd}\"";
7878

7979
try
8080
{

0 commit comments

Comments
 (0)