Documentation
¶
Overview ¶
Package io contains custom functions extending the native `io` package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BellSkipper ¶
type BellSkipper struct {
// contains filtered or unexported fields
}
BellSkipper is a custom WriteCloser that skips `Bell` characters
Used to prevent promptui making sounds when a button is pressed
func NewBellSkipper ¶
func NewBellSkipper(baseOutput systemio.WriteCloser) *BellSkipper
NewBellSkipper creates a new BellSkipper WriteCloser
type ContinuousReader ¶
type ContinuousReader struct {
// contains filtered or unexported fields
}
ContinuousReader is an io.Reader that wraps another reader and ignores io.EOF markers
This can be useful if you want to continue reading from a buffered reader after the buffer has been exhausted, for example
type ErrorReader ¶ added in v0.32.28
type ErrorReader struct {
}
func NewErrorReader ¶ added in v0.32.28
func NewErrorReader() *ErrorReader
Click to show internal directories.
Click to hide internal directories.