Skip to main content

rust_expect/
auto_config.rs

1//! Automatic configuration detection.
2//!
3//! This module provides functionality for automatically detecting
4//! and configuring terminal session parameters.
5
6pub mod line_ending;
7pub mod locale;
8pub mod prompt;
9pub mod shell;
10
11pub use line_ending::{
12    LineEnding, LineEndingConfig, detect_line_ending, normalize_line_endings, to_crlf, to_lf,
13};
14pub use locale::{LocaleInfo, detect_locale, is_utf8_environment, locale_env};
15pub use prompt::{PromptConfig, PromptInfo, detect_prompt, ends_with_prompt};
16pub use shell::{ShellConfig, ShellType, default_shell, detect_from_path, detect_shell};