From 97197601ee8f36fedb559c9c8b2d73ce5b0ca0ee Mon Sep 17 00:00:00 2001 From: Rain Date: Wed, 13 Apr 2022 17:21:22 -0700 Subject: [PATCH] fix(theme): set correct field in MietteHandlerOpts::ansi_colors (#150) --- src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler.rs b/src/handler.rs index ada2f3ec..74de0080 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -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