mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-07 09:17:26 -08:00
25 lines
374 B
Go
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
|
|
}
|