mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-29 07:20:35 +00:00
Multiplexer adjustments [stage]
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package io.xpipe.app.terminal;
|
||||
|
||||
import io.xpipe.app.core.AppProperties;
|
||||
import io.xpipe.app.issue.ErrorEvent;
|
||||
import io.xpipe.app.issue.ErrorEventFactory;
|
||||
import io.xpipe.app.process.LocalShell;
|
||||
@@ -24,6 +25,10 @@ public interface TerminalMultiplexer {
|
||||
}
|
||||
|
||||
static TerminalMultiplexer determineDefault(TerminalMultiplexer existing) {
|
||||
if (!AppProperties.get().isInitialLaunch()) {
|
||||
return existing;
|
||||
}
|
||||
|
||||
if (OsType.ofLocal() == OsType.WINDOWS) {
|
||||
return existing;
|
||||
}
|
||||
@@ -33,10 +38,10 @@ public interface TerminalMultiplexer {
|
||||
return existing;
|
||||
}
|
||||
|
||||
var all = List.of(new TmuxTerminalMultiplexer(), new ZellijTerminalMultiplexer(), new ScreenTerminalMultiplexer());
|
||||
for (TerminalMultiplexer terminalMultiplexer : all) {
|
||||
if (terminalMultiplexer.shouldSelect()) {
|
||||
return terminalMultiplexer;
|
||||
var all = List.of(new TmuxTerminalMultiplexer(), new ZellijTerminalMultiplexer());
|
||||
for (TerminalMultiplexer m : all) {
|
||||
if (m.shouldSelect()) {
|
||||
return m;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Vendored
+5
-1
@@ -7,5 +7,9 @@
|
||||
- Fix Pageant connections with specified key not opening properly in all cases on Windows
|
||||
- Fix file browser navigation failing to open directories in cmd with certain special characters
|
||||
- Fix PTB communication being broken
|
||||
- Make newly added scripts be automatically enabled to improve ease of use
|
||||
- Set multiplexer automatically on initial launch
|
||||
- Add new dialog to disable latest Windows RDP security warnings
|
||||
- Add identity names to error messages about missing info
|
||||
- Improve configuration clarity for direct RDP/VNC connections
|
||||
- Improve configuration clarity for direct RDP/VNC connections
|
||||
- Make Passwork master key optional
|
||||
|
||||
Reference in New Issue
Block a user