ui: documentation tweaks

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-11 19:35:29 +02:00
parent 2f9ac5aebb
commit 842d29373f
4 changed files with 9 additions and 7 deletions
+2
View File
@@ -33,6 +33,8 @@ package input
// Queue maps an event handler key to the events
// available to the handler.
type Queue interface {
// Next returns the next available event, or
// false if none are available.
Next(k Key) (Event, bool)
}