From 95ca7b5b59335dade3682557193b0b32a6866653 Mon Sep 17 00:00:00 2001 From: Chris Waldon Date: Wed, 17 Jan 2024 13:01:42 -0500 Subject: [PATCH] io/input: fix docs for Router.Queue The method no longer returns anything, and thus does not actually report whether any events matched a handler. Signed-off-by: Chris Waldon --- io/input/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/input/router.go b/io/input/router.go index c8299da9..99962a1a 100644 --- a/io/input/router.go +++ b/io/input/router.go @@ -380,7 +380,7 @@ func (q *Router) Frame(frame *op.Ops) { q.collapseState(len(q.changes) - 1) } -// Queue events and report whether at least one event matched a handler. +// Queue events to be routed. func (q *Router) Queue(events ...event.Event) { for _, e := range events { se, system := e.(SystemEvent)