mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-15 11:57:55 +08:00
pkg/cli: Add a missing doc comment.
This commit is contained in:
parent
0d58fea6fd
commit
1aa6e057e5
|
@ -22,6 +22,7 @@ type TTY interface {
|
||||||
// This method should be called before any other method is called.
|
// This method should be called before any other method is called.
|
||||||
Setup() (restore func(), err error)
|
Setup() (restore func(), err error)
|
||||||
|
|
||||||
|
// ReadEvent reads a terminal event.
|
||||||
ReadEvent() (term.Event, error)
|
ReadEvent() (term.Event, error)
|
||||||
// SetRawInput requests the next n ReadEvent calls to read raw events. It
|
// SetRawInput requests the next n ReadEvent calls to read raw events. It
|
||||||
// is applicable to environments where events are represented as a special
|
// is applicable to environments where events are represented as a special
|
||||||
|
|
Loading…
Reference in New Issue
Block a user