Skip to content

Commit ab7c066

Browse files
committedFeb 4, 2024
fix(highlighter): ugh, missed another spot
1 parent 3747fcc commit ab7c066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/highlighters/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl MietteHighlighter {
8080
impl Default for MietteHighlighter {
8181
#[cfg(feature = "syntect-highlighter")]
8282
fn default() -> Self {
83-
use is_terminal::IsTerminal;
83+
use std::io::IsTerminal;
8484
match std::env::var("NO_COLOR") {
8585
_ if !std::io::stdout().is_terminal() || !std::io::stderr().is_terminal() => {
8686
//TODO: should use ANSI styling instead of 24-bit truecolor here

0 commit comments

Comments
 (0)
Please sign in to comment.