mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-24 16:21:04 +00:00
12 lines
248 B
Rust
12 lines
248 B
Rust
use yazi_config::{THEME, YAZI};
|
|
|
|
pub(super) struct TermOption {
|
|
pub bg: String,
|
|
pub mouse: bool,
|
|
}
|
|
|
|
impl Default for TermOption {
|
|
fn default() -> Self {
|
|
Self { bg: THEME.app.bg_color(), mouse: !YAZI.mgr.mouse_events.get().is_empty() }
|
|
}
|
|
}
|