We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a6e986 commit 7a542b1Copy full SHA for 7a542b1
src/destination.rs
@@ -50,5 +50,5 @@ impl Destination {
50
}
51
52
fn is_dumb_term() -> bool {
53
- env::var("TERM").map_or(false, |s| s.eq_ignore_ascii_case("dumb"))
+ env::var("TERM").is_ok_and(|s| s.eq_ignore_ascii_case("dumb"))
54
0 commit comments