Documentation
¶
Overview ¶
Package interrupt maps Ctrl-C onto a session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher: while a turn runs, the first Ctrl-C stops its loop after the current iteration and a second aborts outright. At the prompt between turns, one Ctrl-C ends the session.
func NewWatcher ¶
Click to show internal directories.
Click to hide internal directories.