Add alt+d deafen keyboard shortcut.

This commit is contained in:
Storm Dragon
2026-09-05 21:53:57 -04:00
parent f21e7c9960
commit cf9746c8de
10 changed files with 124 additions and 7 deletions
-3
View File
@@ -600,8 +600,6 @@ func (app *App) run() error {
err = app.manage_certificate()
case "Logs":
err = app.manage_logs()
case "About barnard-ui":
err = app.ui.message("barnard-ui is the native Go interface for managing Barnard servers, certificates, and logs. It does not require Python or GNU Dialog.")
}
if err != nil {
return err
@@ -616,7 +614,6 @@ func main_menu_options() []string {
"Remove server",
"Manage Certificate",
"Logs",
"About barnard-ui",
"Exit",
}
}
+3 -3
View File
@@ -196,13 +196,13 @@ func TestConnectionArgsNeverExposePassword(t *testing.T) {
}
}
func TestProgramIdentityAndAboutMenuUseBarnardUI(t *testing.T) {
func TestProgramIdentityAndMainMenuUseBarnardUI(t *testing.T) {
if programName != "barnard-ui" {
t.Fatalf("programName = %q", programName)
}
options := main_menu_options()
if !slices.Contains(options, "About barnard-ui") {
t.Fatalf("main menu lacks About barnard-ui: %v", options)
if slices.Contains(options, "About barnard-ui") {
t.Fatalf("main menu still contains About barnard-ui: %v", options)
}
for _, option := range options {
if strings.Contains(option, "go-ui") {