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

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 the cache feature is enabled, the result is cached
    The cache can be reset with cache::cache_clear