par-term 0.28.0

Cross-platform GPU-accelerated terminal emulator with inline graphics support (Sixel, iTerm2, Kitty)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Watcher and observer handles for the window manager.
//!
//! Extracted from `WindowState` as part of the God Object decomposition (ARC-001).

use crate::config::watcher::ConfigWatcher;

/// State for file and request watchers.
#[derive(Default)]
pub(crate) struct WatcherState {
    /// Config file watcher for automatic reload (e.g., when user modifies config.yaml)
    pub(crate) config_watcher: Option<ConfigWatcher>,
    /// Watcher for `.config-update.json` written by the MCP server
    pub(crate) config_update_watcher: Option<ConfigWatcher>,
    /// Watcher for `.screenshot-request.json` written by the MCP server
    pub(crate) screenshot_request_watcher: Option<ConfigWatcher>,
}