Documentation
¶
Overview ¶
Package stdin reads the terminal once for a whole run or chat.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lines ¶
type Lines struct {
// contains filtered or unexported fields
}
Lines is the one reader of stdin. Each line typed goes out on C, to whoever is listening at the time: steering while a turn runs and, in a chat, the prompt between turns. C is unbuffered, so a line typed while nobody listens waits for the next listener instead of being lost.
Click to show internal directories.
Click to hide internal directories.