mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-24 08:30:27 +00:00
Term fixes
This commit is contained in:
parent
82b501d4cc
commit
13c9644ff5
2 changed files with 2 additions and 2 deletions
|
@ -299,7 +299,7 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
|||
try (var sc = LocalShell.getShell()) {
|
||||
return switch (OsType.getLocal()) {
|
||||
case OsType.Linux linux -> {
|
||||
yield CommandSupport.isInPathSilent(sc, "termius");
|
||||
yield Files.exists(Path.of("/opt/termius"));
|
||||
}
|
||||
case OsType.MacOs macOs -> {
|
||||
yield Files.exists(Path.of("/Applications/Termius.app"));
|
||||
|
|
|
@ -184,7 +184,7 @@ public interface KittyTerminalType extends ExternalTerminalType {
|
|||
.add("-o", "allow_remote_control=socket-only", "--listen-on", "unix:" + getSocket()));
|
||||
var elapsed = System.currentTimeMillis() - time;
|
||||
// Good heuristic on how long to wait
|
||||
ThreadHelper.sleep(5 * elapsed);
|
||||
ThreadHelper.sleep(15 * elapsed);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue