diff options
-rw-r--r-- | src/colors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/colors.rs b/src/colors.rs index 182ea23..15155cc 100644 --- a/src/colors.rs +++ b/src/colors.rs @@ -137,9 +137,9 @@ impl Colors { }) } - fn print_color( + fn print_color<W: std::io::Write>( &self, - t: &mut term::StdoutTerminal, + t: &mut term::Terminal<Output=W>, color: Option<&term::color::Color>, ) { self.print_wrapped(|| { |