Skip to content

Commit

Permalink
fix(theme): set correct field in MietteHandlerOpts::ansi_colors (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers authored Apr 14, 2022
1 parent bd8f8e3 commit 9719760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl MietteHandlerOpts {

/// If true, ANSI colors will be used during graphical rendering.
pub fn ansi_colors(mut self, color: bool) -> Self {
self.rgb_colors = Some(color);
self.ansi_colors = Some(color);
self
}
/// If true, graphical rendering will be used regardless of terminal
Expand Down

0 comments on commit 9719760

Please sign in to comment.