feat: improve local terminal workflows
This commit is contained in:
@@ -54,6 +54,7 @@ func DefaultAppPreferences() AppPreferences {
|
||||
DefaultCursorStyle: DefaultCursorStyle,
|
||||
UseNativePaste: false,
|
||||
LocalShell: "", // empty means use system default
|
||||
LeviathanEnabled: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user