is_microsoft_terminal

Function is_microsoft_terminal 

Source
pub fn is_microsoft_terminal() -> bool
Expand description

Detects Microsoft Terminal.

Note that this is only provided to write your own clearscreen logic and should not be relied on for other purposes, as it makes no guarantees of reliable detection, and its internal behaviour may change without notice.