Crate term_detect
source ·Modules
- Contains code related to caching the results
- Contains code that actually detects the default terminal emulator
DE-specific code is in a separate file
Structs
- Simple wrapper around a String
Enums
Traits
- Allows a
Command
to be executed in a terminal - Allows a
Command
to be executed in a terminal.
Works the same as the non-auto version, but detects the terminal automatically
Functions
- Gets the default terminal
If thecache
feature is enabled, the result is cached
The cache can be reset withcache::cache_clear