Files
2026-07-13 11:56:09 +08:00

19 lines
241 B
Go

package readline
import (
"errors"
)
var (
ErrInterrupt = errors.New("Interrupt")
ErrEditPrompt = errors.New("EditPrompt")
)
type InterruptError struct {
Line []rune
}
func (*InterruptError) Error() string {
return "Interrupted"
}