oh-my-posh/src/segments/text.go
2022-02-03 10:44:18 +01:00

25 lines
374 B
Go

package segments
import (
"oh-my-posh/environment"
"oh-my-posh/properties"
)
type Text struct {
props properties.Properties
env environment.Environment
}
func (t *Text) Template() string {
return " "
}
func (t *Text) Enabled() bool {
return true
}
func (t *Text) Init(props properties.Properties, env environment.Environment) {
t.props = props
t.env = env
}