mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
docs: fix type
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ func WithWordWrap(wordWrap int) TermRendererOption {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithWordWrap sets a TermRenderer's word wrap.
|
// WithPreservedNewlines preserves newlines from being replaced.
|
||||||
func WithPreservedNewLines() TermRendererOption {
|
func WithPreservedNewLines() TermRendererOption {
|
||||||
return func(tr *TermRenderer) error {
|
return func(tr *TermRenderer) error {
|
||||||
tr.ansiOptions.PreserveNewLines = true
|
tr.ansiOptions.PreserveNewLines = true
|
||||||
|
|||||||
Reference in New Issue
Block a user