oh-my-posh/src/segments/text.go

25 lines
374 B
Go
Raw Normal View History

2022-01-26 06:54:36 -08:00
package segments
2019-03-13 04:14:30 -07:00
import (
"oh-my-posh/environment"
"oh-my-posh/properties"
)
2022-01-26 05:10:18 -08:00
type Text struct {
props properties.Properties
env environment.Environment
2019-03-13 04:14:30 -07:00
}
func (t *Text) Template() string {
2022-02-02 10:48:50 -08:00
return " "
}
func (t *Text) Enabled() bool {
return true
2019-03-13 04:14:30 -07:00
}
func (t *Text) Init(props properties.Properties, env environment.Environment) {
2019-03-13 04:14:30 -07:00
t.props = props
t.env = env
}