mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-07-08 11:30:42 +00:00
Readd wt -w flag
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user