pkg/cli: Add a missing doc comment.

This commit is contained in:
Qi Xiao 2020-01-12 15:27:36 -05:00
parent 0d58fea6fd
commit 1aa6e057e5

View File

@ -22,6 +22,7 @@ type TTY interface {
// This method should be called before any other method is called.
Setup() (restore func(), err error)
// ReadEvent reads a terminal event.
ReadEvent() (term.Event, error)
// SetRawInput requests the next n ReadEvent calls to read raw events. It
// is applicable to environments where events are represented as a special