mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 17:50:24 +00:00
better parsers
This commit is contained in:
@@ -14,9 +14,10 @@ type RenderOptions struct {
|
||||
// NewRenderOptions creates new RenderOptions
|
||||
// Sets the default font name
|
||||
func NewRenderOptions() *RenderOptions {
|
||||
p, _ := GetParser("terminal")
|
||||
return &RenderOptions{
|
||||
FontName: defaultFont,
|
||||
Parser: ParserTerminal,
|
||||
Parser: *p,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user