mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-26 18:35:43 +00:00
Term fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user