feat: improve local terminal workflows

This commit is contained in:
Andy Dixon
2026-07-22 11:57:52 +01:00
parent 4fc3b19441
commit 5d5993d9c4
20 changed files with 967 additions and 160 deletions
+1
View File
@@ -54,6 +54,7 @@ func DefaultAppPreferences() AppPreferences {
DefaultCursorStyle: DefaultCursorStyle,
UseNativePaste: false,
LocalShell: "", // empty means use system default
LeviathanEnabled: false,
}
}
+10
View File
@@ -0,0 +1,10 @@
package models
import "testing"
func TestDefaultAppPreferencesHideLeviathan(t *testing.T) {
prefs := DefaultAppPreferences()
if prefs.LeviathanEnabled {
t.Fatal("LeviathanEnabled = true, want false by default")
}
}
+1
View File
@@ -346,6 +346,7 @@ type AppPreferences struct {
DefaultCursorStyle string `json:"defaultCursorStyle"`
UseNativePaste bool `json:"useNativePaste"`
LocalShell string `json:"localShell"` // path to shell binary for local terminal
LeviathanEnabled bool `json:"leviathanEnabled"`
}
// AuditEntry records an auditable action within the application.