~chrisppy/beagles-devel

Error message on unrecognized command v1 APPLIED

Will Tiffany: 1
 Error message on unrecognized command

 1 files changed, 3 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~chrisppy/beagles-devel/patches/11755/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Error message on unrecognized command Export this patch

---
 ui/ui.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ui/ui.go b/ui/ui.go
index 710f5e9..713e52f 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -123,6 +123,9 @@ func (i *UI) Init() {
			i.deleteFeed(args)
		case ":update", ":up":
			i.updateFeed(args)
		default:
			i.commandLine.setError("unrecognized command: " + args[0][1:])
			i.setStatus(i.status)
		}
		i.inCmdMode = false
	})
-- 
2.27.0
Great call to add this Will. Thanks.