mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 13:51:23 +00:00
Kitty fixes
This commit is contained in:
parent
61c3547497
commit
30f750d8f1
|
@ -130,6 +130,7 @@ public interface KittyTerminalType extends ExternalTerminalType {
|
|||
return false;
|
||||
}
|
||||
|
||||
var time = System.currentTimeMillis();
|
||||
sc.executeSimpleCommand(CommandBuilder.of()
|
||||
.add("kitty")
|
||||
.add(
|
||||
|
@ -138,7 +139,9 @@ public interface KittyTerminalType extends ExternalTerminalType {
|
|||
"--listen-on",
|
||||
"unix:" + getSocket(),
|
||||
"--detach"));
|
||||
ThreadHelper.sleep(1500);
|
||||
var elapsed = System.currentTimeMillis() - time;
|
||||
// Good heuristic on how long to wait
|
||||
ThreadHelper.sleep(5 * elapsed);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue