Skip to content

Commit

Permalink
fix(handlers): Disable textwrap::smawk feature (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani authored Jun 26, 2024
1 parent 9bbcf3c commit edfdcb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ unicode-width = "0.1.11"
cfg-if = "1.0.0"

owo-colors = { version = "4.0.0", optional = true }
textwrap = { version = "0.16.0", optional = true }
textwrap = { version = "0.16.0", default-features = false, features = ["unicode-linebreak", "unicode-width"], optional = true }
supports-hyperlinks = { version = "3.0.0", optional = true }
supports-color = { version = "3.0.0", optional = true }
supports-unicode = { version = "3.0.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/graphical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl GraphicalReportHandler {
self
}

/// Sets the word splitter to usewhen wrapping.
/// Sets the word splitter to use when wrapping.
pub fn with_word_splitter(mut self, word_splitter: textwrap::WordSplitter) -> Self {
self.word_splitter = Some(word_splitter);
self
Expand Down

0 comments on commit edfdcb5

Please sign in to comment.