Add alt+d deafen keyboard shortcut.
This commit is contained in:
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user