Add new argument for fixed text formatter

This commit is contained in:
2025-08-20 23:05:46 +08:00
parent 5898d8f94e
commit bb27378450
7 changed files with 106 additions and 9 deletions

View File

@@ -545,6 +545,8 @@ pub enum FormatOptions {
length: usize,
/// Whether to keep original line breaks
keep_original: bool,
/// Whether to break words(ASCII only) at the end of the line
break_words: bool,
},
/// Do not wrap line
None,