Crate term_detect

Source

Modules§

cache
Contains code related to caching the results
desktops
DE-specific terminal detection code
detector
Contains code that actually detects the default terminal emulator

Structs§

Terminal
Simple wrapper around a String

Enums§

DetectionError

Traits§

InTerminal
Allows a Command to be executed in a terminal
InTerminalAuto
Allows a Command to be executed in a terminal (which is automatically detected)

Functions§

get_terminal
Gets the default terminal