mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-08-28 04:46:29 -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 {
|
||||
return func(tr *TermRenderer) error {
|
||||
tr.ansiOptions.PreserveNewLines = true
|
||||
|
||||
Reference in New Issue
Block a user