Various fixes

This commit is contained in:
crschnick 2024-11-01 14:15:02 +00:00
parent 67fd51f240
commit fb11db6a66
6 changed files with 14 additions and 2 deletions

View file

@ -9,6 +9,7 @@ public interface ShellStore extends DataStore, FileSystemStore, ValidatableStore
default ShellControl getOrStartSession() throws Exception {
var session = getSession();
if (session != null) {
session.getShellControl().refreshRunningState();
if (!session.isRunning()) {
stopSessionIfNeeded();
} else {

View file

@ -178,6 +178,11 @@ public class WrapperShellControl implements ShellControl {
return parent.prepareTerminalOpen(config, workingDirectory);
}
@Override
public void refreshRunningState() {
parent.refreshRunningState();
}
@Override
public void closeStdin() throws IOException {
parent.closeStdin();

View file

@ -37,6 +37,10 @@
-fx-padding: 0.1em 0.2em;
}
.browser .transfer .label .ikonli-font-icon {
-fx-icon-color: -color-fg-default;
}
.root.nord .transfer > * {
-fx-background-radius: 0;
-fx-border-radius: 0;

View file

@ -165,6 +165,6 @@
-fx-fill: rgb(30, 180, 30, 0.7);
}
.custom-text-field .font-icon, .custom-text-field .ikonli-font-icon, .label .ikonli-font-icon {
.custom-text-field .font-icon, .custom-text-field .ikonli-font-icon {
-fx-icon-color: -color-fg-default;
}

View file

@ -17,6 +17,8 @@ public interface ProcessControl extends AutoCloseable {
String prepareTerminalOpen(TerminalInitScriptConfig config, WorkingDirectoryFunction workingDirectory)
throws Exception;
void refreshRunningState();
void closeStdin() throws IOException;
boolean isStdinClosed();

2
dist/build.gradle vendored
View file

@ -2,7 +2,7 @@
plugins {
id 'org.beryx.jlink' version '3.0.1'
id "org.asciidoctor.jvm.convert" version "4.0.3"
id 'org.jreleaser' version '1.14.0'
id 'org.jreleaser' version '1.15.0'
id("com.netflix.nebula.ospackage") version "11.10.0"
id 'org.gradle.crypto.checksum' version '1.4.0'
id 'signing'