diff options
| author | raven <citrons@mondecitronne.com> | 2025-10-22 16:29:35 -0500 |
|---|---|---|
| committer | raven <citrons@mondecitronne.com> | 2026-02-09 13:14:00 -0600 |
| commit | eff052139afd24a5c1e307b5582190aa2c2ae644 (patch) | |
| tree | d7d3145f1b75c33cda60e7cdf44d2b5ee6b44c06 /client/command.go | |
| parent | ac4034387f75b18b95f77842e54c212b17a4c6c5 (diff) | |
fix broken commands
Diffstat (limited to 'client/command.go')
| -rw-r--r-- | client/command.go | 4 |
1 files 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 { |
