mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Add force tty option
This commit is contained in:
parent
58ef068842
commit
1a16296f4c
14 changed files with 33 additions and 0 deletions
|
@ -109,6 +109,9 @@ public class AppPrefs {
|
|||
map(new SimpleBooleanProperty(false), "developerDisableGuiRestrictions", Boolean.class);
|
||||
private final ObservableBooleanValue developerDisableGuiRestrictionsEffective =
|
||||
bindDeveloperTrue(developerDisableGuiRestrictions);
|
||||
final BooleanProperty developerForceSshTty =
|
||||
map(new SimpleBooleanProperty(false), "developerForceSshTty", Boolean.class);
|
||||
|
||||
final ObjectProperty<SupportedLocale> language =
|
||||
map(new SimpleObjectProperty<>(SupportedLocale.getEnglish()), "language", SupportedLocale.class);
|
||||
|
||||
|
@ -435,6 +438,10 @@ public class AppPrefs {
|
|||
return developerDisableGuiRestrictionsEffective;
|
||||
}
|
||||
|
||||
public ObservableBooleanValue developerForceSshTty() {
|
||||
return bindDeveloperTrue(developerForceSshTty);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private <T> T map(T o, String name, Class<?> clazz) {
|
||||
mapping.add(new Mapping<>(name, (Property<T>) o, (Class<T>) clazz));
|
||||
|
|
|
@ -61,6 +61,8 @@ public class DeveloperCategory extends AppPrefsCategory {
|
|||
.sub(new OptionsBuilder()
|
||||
.nameAndDescription("developerDisableUpdateVersionCheck")
|
||||
.addToggle(prefs.developerDisableUpdateVersionCheck)
|
||||
.nameAndDescription("developerForceSshTty")
|
||||
.addToggle(prefs.developerForceSshTty)
|
||||
.nameAndDescription("developerDisableGuiRestrictions")
|
||||
.addToggle(prefs.developerDisableGuiRestrictions)
|
||||
.nameAndDescription("shellCommandTest")
|
||||
|
|
|
@ -500,3 +500,5 @@ workspaceNameDescription=Visningsnavnet på arbejdsområdet
|
|||
workspacePath=Sti til arbejdsområde
|
||||
workspacePathDescription=Placeringen af arbejdsområdets datakatalog
|
||||
workspaceCreationAlertTitle=Oprettelse af arbejdsområde
|
||||
developerForceSshTty=Fremtving SSH TTY
|
||||
developerForceSshTtyDescription=Få alle SSH-forbindelser til at tildele en pty for at teste understøttelsen af en manglende stderr og en pty.
|
||||
|
|
|
@ -494,3 +494,5 @@ workspaceNameDescription=Der Anzeigename des Arbeitsbereichs
|
|||
workspacePath=Pfad zum Arbeitsbereich
|
||||
workspacePathDescription=Der Ort des Datenverzeichnisses des Arbeitsbereichs
|
||||
workspaceCreationAlertTitle=Arbeitsbereich erstellen
|
||||
developerForceSshTty=SSH TTY erzwingen
|
||||
developerForceSshTtyDescription=Lass alle SSH-Verbindungen ein pty zuweisen, um die Unterstützung für einen fehlenden stderr und ein pty zu testen.
|
||||
|
|
|
@ -498,3 +498,5 @@ workspaceNameDescription=The display name of the workspace
|
|||
workspacePath=Workspace path
|
||||
workspacePathDescription=The location of the workspace data directory
|
||||
workspaceCreationAlertTitle=Workspace creation
|
||||
developerForceSshTty=Force SSH TTY
|
||||
developerForceSshTtyDescription=Make all SSH connections allocate a pty to test the support for a missing stderr and a pty.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=El nombre para mostrar del espacio de trabajo
|
|||
workspacePath=Ruta del espacio de trabajo
|
||||
workspacePathDescription=La ubicación del directorio de datos del espacio de trabajo
|
||||
workspaceCreationAlertTitle=Creación de espacios de trabajo
|
||||
developerForceSshTty=Forzar SSH TTY
|
||||
developerForceSshTtyDescription=Haz que todas las conexiones SSH asignen una pty para probar la compatibilidad con una stderr y una pty ausentes.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=Le nom d'affichage de l'espace de travail
|
|||
workspacePath=Chemin d'accès à l'espace de travail
|
||||
workspacePathDescription=L'emplacement du répertoire de données de l'espace de travail
|
||||
workspaceCreationAlertTitle=Création d'un espace de travail
|
||||
developerForceSshTty=Force SSH TTY
|
||||
developerForceSshTtyDescription=Fais en sorte que toutes les connexions SSH allouent un pty pour tester la prise en charge d'un stderr et d'un pty manquants.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=Il nome di visualizzazione dell'area di lavoro
|
|||
workspacePath=Percorso dello spazio di lavoro
|
||||
workspacePathDescription=La posizione della directory dei dati dell'area di lavoro
|
||||
workspaceCreationAlertTitle=Creazione di uno spazio di lavoro
|
||||
developerForceSshTty=Forza SSH TTY
|
||||
developerForceSshTtyDescription=Fai in modo che tutte le connessioni SSH allocino una pty per testare il supporto di una stderr e di una pty mancanti.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=ワークスペースの表示名
|
|||
workspacePath=ワークスペースのパス
|
||||
workspacePathDescription=ワークスペースのデータディレクトリの場所
|
||||
workspaceCreationAlertTitle=ワークスペースの作成
|
||||
developerForceSshTty=強制SSH TTY
|
||||
developerForceSshTtyDescription=すべてのSSHコネクションにptyを割り当て、stderrとptyがない場合のサポートをテストする。
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=De weergavenaam van de werkruimte
|
|||
workspacePath=Werkruimte pad
|
||||
workspacePathDescription=De locatie van de gegevensmap van de werkruimte
|
||||
workspaceCreationAlertTitle=Werkruimte maken
|
||||
developerForceSshTty=SSH TTY afdwingen
|
||||
developerForceSshTtyDescription=Laat alle SSH-verbindingen een pty toewijzen om de ondersteuning voor een ontbrekende stderr en een pty te testen.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=O nome de apresentação do espaço de trabalho
|
|||
workspacePath=Caminho do espaço de trabalho
|
||||
workspacePathDescription=A localização do diretório de dados do espaço de trabalho
|
||||
workspaceCreationAlertTitle=Criação de espaço de trabalho
|
||||
developerForceSshTty=Força o SSH TTY
|
||||
developerForceSshTtyDescription=Faz com que todas as ligações SSH atribuam um pty para testar o suporte para um stderr e um pty em falta.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=Отображаемое имя рабочей обла
|
|||
workspacePath=Путь к рабочему пространству
|
||||
workspacePathDescription=Расположение каталога данных рабочей области
|
||||
workspaceCreationAlertTitle=Создание рабочего пространства
|
||||
developerForceSshTty=Принудительный SSH TTY
|
||||
developerForceSshTtyDescription=Заставь все SSH-соединения выделять pty, чтобы проверить поддержку отсутствующего stderr и pty.
|
||||
|
|
|
@ -482,3 +482,5 @@ workspaceNameDescription=Çalışma alanının görünen adı
|
|||
workspacePath=Çalışma alanı yolu
|
||||
workspacePathDescription=Çalışma alanı veri dizininin konumu
|
||||
workspaceCreationAlertTitle=Çalışma alanı oluşturma
|
||||
developerForceSshTty=SSH TTY'yi Zorla
|
||||
developerForceSshTtyDescription=Eksik bir stderr ve bir pty desteğini test etmek için tüm SSH bağlantılarının bir pty ayırmasını sağlayın.
|
||||
|
|
|
@ -481,3 +481,5 @@ workspaceNameDescription=工作区的显示名称
|
|||
workspacePath=工作区路径
|
||||
workspacePathDescription=工作区数据目录的位置
|
||||
workspaceCreationAlertTitle=创建工作区
|
||||
developerForceSshTty=强制 SSH TTY
|
||||
developerForceSshTtyDescription=让所有 SSH 连接都分配一个 pty,以测试对缺失的 stderr 和 pty 的支持。
|
||||
|
|
Loading…
Reference in a new issue