//! Cache view focus enum

/// Cache view focus (which panel is active)
///
/// When in the cache view, focus can be on either the sidebar
/// (list of cached searches) or the results panel (results within
/// a selected search).
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum CacheFocus {
    /// Sidebar (search list) has focus
    Sidebar,
    /// Results panel has focus
    Results,
}
