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 ee25a7d commit f22700aCopy full SHA for f22700a
src/term.rs
@@ -12,7 +12,7 @@ use crossterm::{
12
};
13
14
thread_local! {
15
- static VS_CODE: Cell<bool> = Cell::new(env::var_os("TERM").is_some_and(|v| v == "vscode"));
+ static VS_CODE: Cell<bool> = Cell::new(env::var_os("TERM_PROGRAM").is_some_and(|v| v == "vscode"));
16
}
17
18
/// Terminal progress bar to be used when not using Ratataui.
0 commit comments