Readd wt -w flag

This commit is contained in:
crschnick
2026-06-14 12:44:32 +00:00
parent dcd66a6ab6
commit 802b0976f6
@@ -49,6 +49,10 @@ public interface WindowsTerminalType extends ExternalTerminalType, TrackableTerm
cmd.add("--pos").addQuoted(bounds.getX() + "," + (bounds.getY() + 20));
}
// Start from high window index to guarantee that xpipe uses its own window
cmd.addIf(configuration.isPreferTabs(), "-w", "100", "nt")
.addIf(!configuration.isPreferTabs(), "-w", "" + windowCounter.getAndIncrement());
if (configuration.getColor() != null) {
cmd.add("--tabColor").addQuoted(configuration.getColor().toHexString());
}