fix(theme): set correct field in MietteHandlerOpts::ansi_colors (#150)

This commit is contained in:
Rain 2022-04-13 17:21:22 -07:00 committed by GitHub
parent bd8f8e31ae
commit 97197601ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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