Documentation ¶
Index ¶
- func DefaultTheme(conf *Config) (*termutil.Theme, error)
- func IsErrRecoverable(err error) bool
- func LoadTheme(conf *Config) (*termutil.Theme, error)
- func LoadThemeFromPath(conf *Config, path string) (*termutil.Theme, error)
- type Config
- type Cursor
- type ErrorFileNotFound
- type Font
- type RecoverableError
- type Theme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrRecoverable ¶
Types ¶
type ErrorFileNotFound ¶
type ErrorFileNotFound struct {
Path string
}
func (*ErrorFileNotFound) Error ¶
func (e *ErrorFileNotFound) Error() string
type RecoverableError ¶
type RecoverableError struct {
// contains filtered or unexported fields
}
func NewRecoverableError ¶
func NewRecoverableError(msg string, cause error) *RecoverableError
func (*RecoverableError) Error ¶
func (e *RecoverableError) Error() string
type Theme ¶
type Theme struct { Black string Red string Green string Yellow string Blue string Magenta string Cyan string White string BrightBlack string BrightRed string BrightGreen string BrightYellow string BrightBlue string BrightMagenta string BrightCyan string BrightWhite string Background string Foreground string SelectionBackground string SelectionForeground string CursorForeground string CursorBackground string }
Click to show internal directories.
Click to hide internal directories.