From eff052139afd24a5c1e307b5582190aa2c2ae644 Mon Sep 17 00:00:00 2001 From: raven Date: Wed, 22 Oct 2025 16:29:35 -0500 Subject: fix broken commands --- client/command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/command.go b/client/command.go index bb7a491..cb6ad10 100644 --- a/client/command.go +++ b/client/command.go @@ -139,7 +139,7 @@ func (a *application) doCommand(command string, args []string, text string) { return case "list": if !argN(0) { - break + return } win := a.windowCache.Get(a.currentWindow) switch win.(type) { @@ -151,7 +151,7 @@ func (a *application) doCommand(command string, args []string, text string) { return case "status": if !a.authenticated { - break + return } cb := func(response proto.Command) { if response.Kind == "fail" && len(response.Args) > 0 { -- cgit v1.2.3